mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.2998: Vim9: disassemble test fails
Problem: Vim9: disassemble test fails. Solution: Add missing call to lookup_debug_var().
This commit is contained in:
parent
26d711645c
commit
1b0a9dd413
@ -2571,6 +2571,9 @@ eval_variable(
|
||||
cc = name[len];
|
||||
name[len] = NUL;
|
||||
|
||||
// Check for local variable when debugging.
|
||||
if ((tv = lookup_debug_var(name)) == NULL)
|
||||
{
|
||||
// Check for user-defined variables.
|
||||
v = find_var(name, NULL, flags & EVAL_VAR_NOAUTOLOAD);
|
||||
if (v != NULL)
|
||||
@ -2579,6 +2582,7 @@ eval_variable(
|
||||
if (dip != NULL)
|
||||
*dip = v;
|
||||
}
|
||||
}
|
||||
|
||||
if (tv == NULL && (in_vim9script() || STRNCMP(name, "s:", 2) == 0))
|
||||
{
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2998,
|
||||
/**/
|
||||
2997,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user