comparison src/eval.c @ 1041:c3bd0a84e11a v7.0.167

updated for version 7.0-167
author vimboss
date Tue, 21 Nov 2006 18:36:05 +0000
parents 1780e6046802
children 2d0f22897a4d
comparison
equal deleted inserted replaced
1040:65e0c2e3a352 1041:c3bd0a84e11a
18537 ga_init2(&newargs, (int)sizeof(char_u *), 3); 18537 ga_init2(&newargs, (int)sizeof(char_u *), 3);
18538 ga_init2(&newlines, (int)sizeof(char_u *), 3); 18538 ga_init2(&newlines, (int)sizeof(char_u *), 3);
18539 18539
18540 if (!eap->skip) 18540 if (!eap->skip)
18541 { 18541 {
18542 /* Check the name of the function. */ 18542 /* Check the name of the function. Unless it's a dictionary function
18543 * (that we are overwriting). */
18543 if (name != NULL) 18544 if (name != NULL)
18544 arg = name; 18545 arg = name;
18545 else 18546 else
18546 arg = fudi.fd_newkey; 18547 arg = fudi.fd_newkey;
18547 if (arg != NULL) 18548 if (arg != NULL && (fudi.fd_di == NULL
18549 || fudi.fd_di->di_tv.v_type != VAR_FUNC))
18548 { 18550 {
18549 if (*arg == K_SPECIAL) 18551 if (*arg == K_SPECIAL)
18550 j = 3; 18552 j = 3;
18551 else 18553 else
18552 j = 0; 18554 j = 0;