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:
@@ -3556,7 +3556,7 @@ get_funccal_args_var()
|
|||||||
{
|
{
|
||||||
if (current_funccal == NULL)
|
if (current_funccal == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
return ¤t_funccal->l_avars_var;
|
return &get_funccal()->l_avars_var;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
287,
|
||||||
/**/
|
/**/
|
||||||
286,
|
286,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user