0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -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,8 +22283,6 @@ ex_function(eap)
if (*p == '!') if (*p == '!')
p = skipwhite(p + 1); p = skipwhite(p + 1);
p += eval_fname_script(p); p += eval_fname_script(p);
if (ASCII_ISALPHA(*p))
{
vim_free(trans_function_name(&p, TRUE, 0, NULL)); vim_free(trans_function_name(&p, TRUE, 0, NULL));
if (*skipwhite(p) == '(') if (*skipwhite(p) == '(')
{ {
@ -22292,7 +22290,6 @@ ex_function(eap)
indent += 2; indent += 2;
} }
} }
}
/* Check for ":append" or ":insert". */ /* Check for ":append" or ":insert". */
p = skip_range(p, NULL); p = skip_range(p, NULL);

View File

@ -47,6 +47,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
test_listlbr.out \ test_listlbr.out \
test_listlbr_utf8.out \ test_listlbr_utf8.out \
test_mapping.out \ test_mapping.out \
test_nested_function.out \
test_options.out \ test_options.out \
test_qf_title.out \ test_qf_title.out \
test_signs.out \ test_signs.out \
@ -184,6 +185,8 @@ test_eval.out: test_eval.in
test_insertcount.out: test_insertcount.in test_insertcount.out: test_insertcount.in
test_listlbr.out: test_listlbr.in test_listlbr.out: test_listlbr.in
test_listlbr_utf8.out: test_listlbr_utf8.in test_listlbr_utf8.out: test_listlbr_utf8.in
test_mapping.out: test_mapping.in
test_nested_function.out: test_nested_function.in
test_options.out: test_options.in test_options.out: test_options.in
test_qf_title.out: test_qf_title.in test_qf_title.out: test_qf_title.in
test_signs.out: test_signs.in test_signs.out: test_signs.in

View File

@ -46,6 +46,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
test_listlbr.out \ test_listlbr.out \
test_listlbr_utf8.out \ test_listlbr_utf8.out \
test_mapping.out \ test_mapping.out \
test_nested_function.out \
test_options.out \ test_options.out \
test_qf_title.out \ test_qf_title.out \
test_signs.out \ test_signs.out \

View File

@ -68,6 +68,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
test_listlbr.out \ test_listlbr.out \
test_listlbr_utf8.out \ test_listlbr_utf8.out \
test_mapping.out \ test_mapping.out \
test_nested_function.out \
test_options.out \ test_options.out \
test_qf_title.out \ test_qf_title.out \
test_signs.out \ test_signs.out \

View File

@ -48,6 +48,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
test_listlbr.out \ test_listlbr.out \
test_listlbr_utf8.out \ test_listlbr_utf8.out \
test_mapping.out \ test_mapping.out \
test_nested_function.out \
test_options.out \ test_options.out \
test_qf_title.out \ test_qf_title.out \
test_signs.out \ test_signs.out \

View File

@ -4,7 +4,7 @@
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com> # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
# #
# Last change: 2014 Dec 08 # Last change: 2014 Dec 13
# #
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64. # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
# Edit the lines in the Configuration section below to select. # Edit the lines in the Configuration section below to select.
@ -107,6 +107,7 @@ SCRIPT = test1.out test2.out test3.out test4.out test5.out \
test_listlbr.out \ test_listlbr.out \
test_listlbr_utf8.out \ test_listlbr_utf8.out \
test_mapping.out \ test_mapping.out \
test_nested_function.out \
test_options.out \ test_options.out \
test_qf_title.out \ test_qf_title.out \
test_signs.out \ test_signs.out \

View File

@ -44,6 +44,7 @@ SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
test_listlbr.out \ test_listlbr.out \
test_listlbr_utf8.out \ test_listlbr_utf8.out \
test_mapping.out \ test_mapping.out \
test_nested_function.out \
test_options.out \ test_options.out \
test_qf_title.out \ test_qf_title.out \
test_signs.out \ test_signs.out \

View File

@ -741,6 +741,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 */
/**/
549,
/**/ /**/
548, 548,
/**/ /**/