Patch 8.0.0287
Problem: Cannot access the arguments of the current function in debug mode.
(Luc Hermitte)
Solution: use get_funccal(). (Lemonboy, closes #1432, closes #1352)
Files: src/userfunc.c
*** ../vim-8.0.0286/src/userfunc.c 2017-01-28 15:58:45.352197224 +0100
--- src/userfunc.c 2017-02-01 20:07:52.561131400 +0100
***************
*** 3556,3562 ****
{
if (current_funccal == NULL)
return NULL;
! return ¤t_funccal->l_avars_var;
}
/*
--- 3556,3562 ----
{
if (current_funccal == NULL)
return NULL;
! return &get_funccal()->l_avars_var;
}
/*
*** ../vim-8.0.0286/src/version.c 2017-02-01 18:37:08.817093810 +0100
--- src/version.c 2017-02-01 20:09:59.436292198 +0100
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 287,
/**/
--
Shaw's Principle: Build a system that even a fool can use, and
only a fool will want to use it.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.