1
0
forked from aniani/vim

patch 8.0.0287: debug mode: cannot access function arguments

Problem:    Cannot access the arguments of the current function in debug mode.
            (Luc Hermitte)
Solution:   use get_funccal(). (Lemonboy, closes #1432, closes #1352)
This commit is contained in:
Bram Moolenaar
2017-02-01 20:26:51 +01:00
parent c10f0e7cb0
commit c7d9eacefa
2 changed files with 3 additions and 1 deletions

View File

@@ -3556,7 +3556,7 @@ get_funccal_args_var()
{
if (current_funccal == NULL)
return NULL;
return &current_funccal->l_avars_var;
return &get_funccal()->l_avars_var;
}
/*

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
287,
/**/
286,
/**/