Mercurial > vim
comparison src/eval.c @ 1800:e7633eb32cfd v7.2.098
updated for version 7.2-098
author | vimboss |
---|---|
date | Wed, 04 Feb 2009 15:27:06 +0000 |
parents | 54d5eb36689f |
children | e7f6ca5594cf |
comparison
equal
deleted
inserted
replaced
1799:acc572c5660c | 1800:e7633eb32cfd |
---|---|
3926 return ret; | 3926 return ret; |
3927 } | 3927 } |
3928 | 3928 |
3929 /* | 3929 /* |
3930 * Handle top level expression: | 3930 * Handle top level expression: |
3931 * expr1 ? expr0 : expr0 | 3931 * expr2 ? expr1 : expr1 |
3932 * | 3932 * |
3933 * "arg" must point to the first non-white of the expression. | 3933 * "arg" must point to the first non-white of the expression. |
3934 * "arg" is advanced to the next non-white after the recognized expression. | 3934 * "arg" is advanced to the next non-white after the recognized expression. |
3935 * | 3935 * |
3936 * Note: "rettv.v_lock" is not set. | 3936 * Note: "rettv.v_lock" is not set. |
19910 j = 0; | 19910 j = 0; |
19911 while (arg[j] != NUL && (j == 0 ? eval_isnamec1(arg[j]) | 19911 while (arg[j] != NUL && (j == 0 ? eval_isnamec1(arg[j]) |
19912 : eval_isnamec(arg[j]))) | 19912 : eval_isnamec(arg[j]))) |
19913 ++j; | 19913 ++j; |
19914 if (arg[j] != NUL) | 19914 if (arg[j] != NUL) |
19915 emsg_funcname(e_invarg2, arg); | 19915 emsg_funcname((char *)e_invarg2, arg); |
19916 } | 19916 } |
19917 } | 19917 } |
19918 | 19918 |
19919 /* | 19919 /* |
19920 * Isolate the arguments: "arg1, arg2, ...)" | 19920 * Isolate the arguments: "arg1, arg2, ...)" |