Mercurial > vim
comparison src/eval.c @ 838:8e5830943bff v7.0e04
updated for version 7.0e04
author | vimboss |
---|---|
date | Thu, 20 Apr 2006 22:17:20 +0000 |
parents | 8bebcabccc2c |
children | 2c885fab04e3 |
comparison
equal
deleted
inserted
replaced
837:6bb1fa855dc9 | 838:8e5830943bff |
---|---|
8861 if (!error) | 8861 if (!error) |
8862 { | 8862 { |
8863 ExpandInit(&xpc); | 8863 ExpandInit(&xpc); |
8864 xpc.xp_context = EXPAND_FILES; | 8864 xpc.xp_context = EXPAND_FILES; |
8865 rettv->vval.v_string = ExpandOne(&xpc, s, NULL, flags, WILD_ALL); | 8865 rettv->vval.v_string = ExpandOne(&xpc, s, NULL, flags, WILD_ALL); |
8866 ExpandCleanup(&xpc); | |
8867 } | 8866 } |
8868 else | 8867 else |
8869 rettv->vval.v_string = NULL; | 8868 rettv->vval.v_string = NULL; |
8870 } | 8869 } |
8871 } | 8870 } |
10395 ExpandInit(&xpc); | 10394 ExpandInit(&xpc); |
10396 xpc.xp_context = EXPAND_FILES; | 10395 xpc.xp_context = EXPAND_FILES; |
10397 rettv->v_type = VAR_STRING; | 10396 rettv->v_type = VAR_STRING; |
10398 rettv->vval.v_string = ExpandOne(&xpc, get_tv_string(&argvars[0]), | 10397 rettv->vval.v_string = ExpandOne(&xpc, get_tv_string(&argvars[0]), |
10399 NULL, WILD_USE_NL|WILD_SILENT, WILD_ALL); | 10398 NULL, WILD_USE_NL|WILD_SILENT, WILD_ALL); |
10400 ExpandCleanup(&xpc); | |
10401 } | 10399 } |
10402 | 10400 |
10403 /* | 10401 /* |
10404 * "globpath()" function | 10402 * "globpath()" function |
10405 */ | 10403 */ |