0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.4.549

Problem:    Function name not recognized correctly when inside a function.
Solution:   Don't check for an alpha character.
This commit is contained in:
Bram Moolenaar
2014-12-13 21:00:55 +01:00
parent 2d78cd7756
commit ef92390cb7
8 changed files with 15 additions and 8 deletions

View File

@@ -22283,14 +22283,11 @@ ex_function(eap)
if (*p == '!')
p = skipwhite(p + 1);
p += eval_fname_script(p);
if (ASCII_ISALPHA(*p))
vim_free(trans_function_name(&p, TRUE, 0, NULL));
if (*skipwhite(p) == '(')
{
vim_free(trans_function_name(&p, TRUE, 0, NULL));
if (*skipwhite(p) == '(')
{
++nesting;
indent += 2;
}
++nesting;
indent += 2;
}
}