Lines Matching refs:arg
279 char_u *arg = FUNCARG(cctx->ctx_ufunc, idx); in arg_exists() local
281 if (STRNCMP(name, arg, len) == 0 && arg[len] == NUL) in arg_exists()
2687 may_peek_next_line(cctx_T *cctx, char_u *arg, char_u **nextp) in may_peek_next_line() argument
2689 char_u *p = skipwhite(arg); in may_peek_next_line()
2692 if (*p == NUL || (VIM_ISWHITE(*arg) && vim9_comment_start(p))) in may_peek_next_line()
2734 may_get_next_line(char_u *whitep, char_u **arg, cctx_T *cctx) in may_get_next_line() argument
2736 *arg = skipwhite(whitep); in may_get_next_line()
2737 if (vim9_bad_comment(*arg)) in may_get_next_line()
2739 if (**arg == NUL || (VIM_ISWHITE(*whitep) && vim9_comment_start(*arg))) in may_get_next_line()
2745 *arg = skipwhite(next); in may_get_next_line()
2754 may_get_next_line_error(char_u *whitep, char_u **arg, cctx_T *cctx) in may_get_next_line_error() argument
2756 if (may_get_next_line(whitep, arg, cctx) == FAIL) in may_get_next_line_error()
2780 static int compile_expr0_ext(char_u **arg, cctx_T *cctx, int *is_const);
2781 static int compile_expr0(char_u **arg, cctx_T *cctx);
2782 static int compile_expr1(char_u **arg, cctx_T *cctx, ppconst_T *ppconst);
3124 char_u **arg, in compile_load() argument
3136 if (*(*arg + 1) == ':') in compile_load()
3138 if (end <= *arg + 2) in compile_load()
3143 switch (**arg) in compile_load()
3150 semsg(_(e_namespace_not_supported_str), *arg); in compile_load()
3162 name = vim_strnsave(*arg + 2, end - (*arg + 2)); in compile_load()
3166 switch (**arg) in compile_load()
3189 name = vim_strnsave(*arg, end - *arg); in compile_load()
3198 semsg(_(e_namespace_not_supported_str), *arg); in compile_load()
3212 size_t len = end - *arg; in compile_load()
3217 name = vim_strnsave(*arg, end - *arg); in compile_load()
3226 else if (arg_exists(*arg, len, &idx, &type, &gen_load_outer, cctx) in compile_load()
3236 if (lookup_local(*arg, len, &lvar, cctx) == OK) in compile_load()
3249 if (script_var_exists(*arg, len, cctx) == OK in compile_load()
3251 res = compile_load_scriptvar(cctx, name, *arg, &end, FALSE); in compile_load()
3269 *arg = end; in compile_load()
3343 compile_arguments(char_u **arg, cctx_T *cctx, int *argcount, int is_searchpair) in compile_arguments() argument
3345 char_u *p = *arg; in compile_arguments()
3346 char_u *whitep = *arg; in compile_arguments()
3356 *arg = p + 1; in compile_arguments()
3412 char_u **arg, in compile_call() argument
3418 char_u *name = *arg; in compile_call()
3432 if ((varlen == 3 && STRNCMP(*arg, "has", 3) == 0) in compile_call()
3433 || (varlen == 15 && STRNCMP(*arg, "exists_compiled", 6) == 0)) in compile_call()
3435 char_u *s = skipwhite(*arg + varlen + 1); in compile_call()
3437 int is_has = **arg == 'h'; in compile_call()
3451 *arg = s + 1; in compile_call()
3479 vim_strncpy(namebuf, *arg, varlen); in compile_call()
3484 is_searchpair = (varlen == 6 && STRNCMP(*arg, "search", 6) == 0) in compile_call()
3485 || (varlen == 9 && STRNCMP(*arg, "searchpos", 9) == 0) in compile_call()
3486 || (varlen == 10 && STRNCMP(*arg, "searchpair", 10) == 0) in compile_call()
3487 || (varlen == 13 && STRNCMP(*arg, "searchpairpos", 13) == 0); in compile_call()
3489 *arg = skipwhite(*arg + varlen + 1); in compile_call()
3490 if (compile_arguments(arg, cctx, &argcount, is_searchpair) == FAIL) in compile_call()
3596 to_name_end(char_u *arg, int use_namespace) in to_name_end() argument
3601 if (!eval_isnamec1(*arg)) in to_name_end()
3602 return arg; in to_name_end()
3604 for (p = arg + 1; *p != NUL && eval_isnamec(*p); MB_PTR_ADV(p)) in to_name_end()
3607 if (*p == ':' && (p != arg + 1 in to_name_end()
3609 || vim_strchr(VIM9_NAMESPACE_CHAR, *arg) == NULL)) in to_name_end()
3620 to_name_const_end(char_u *arg) in to_name_const_end() argument
3622 char_u *p = arg; in to_name_const_end()
3628 if (p == arg && *arg == '[') in to_name_const_end()
3633 p = arg; in to_name_const_end()
3644 compile_list(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_list() argument
3646 char_u *p = skipwhite(*arg + 1); in compile_list()
3647 char_u *whitep = *arg + 1; in compile_list()
3656 semsg(_(e_list_end), *arg); in compile_list()
3686 *arg = p; in compile_list()
3698 compile_lambda(char_u **arg, cctx_T *cctx) in compile_lambda() argument
3710 r = get_lambda_tv(arg, &rettv, TRUE, &evalarg); in compile_lambda()
3742 size_t off = *arg - ((char_u **)gap->ga_data)[gap->ga_len - 1]; in compile_lambda()
3744 *arg = ((char_u **)cctx->ctx_ufunc->uf_lines.ga_data)[cctx->ctx_lnum] in compile_lambda()
3770 char_u **arg, in get_lambda_tv_and_compile() argument
3781 r = get_lambda_tv(arg, rettv, types_optional, evalarg); in get_lambda_tv_and_compile()
3812 compile_dict(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_dict() argument
3818 char_u *whitep = *arg + 1; in compile_dict()
3831 if (may_get_next_line(whitep, arg, cctx) == FAIL) in compile_dict()
3833 *arg = NULL; in compile_dict()
3837 if (**arg == '}') in compile_dict()
3840 if (**arg == '[') in compile_dict()
3845 *arg = skipwhite(*arg + 1); in compile_dict()
3846 if (compile_expr0(arg, cctx) == FAIL) in compile_dict()
3862 *arg = skipwhite(*arg); in compile_dict()
3863 if (**arg != ']') in compile_dict()
3868 ++*arg; in compile_dict()
3875 key = get_literal_key(arg); in compile_dict()
3901 if (**arg != ':') in compile_dict()
3903 if (*skipwhite(*arg) == ':') in compile_dict()
3904 semsg(_(e_no_white_space_allowed_before_str_str), ":", *arg); in compile_dict()
3906 semsg(_(e_missing_dict_colon), *arg); in compile_dict()
3909 whitep = *arg + 1; in compile_dict()
3912 semsg(_(e_white_space_required_after_str_str), ":", *arg); in compile_dict()
3916 if (may_get_next_line(whitep, arg, cctx) == FAIL) in compile_dict()
3918 *arg = NULL; in compile_dict()
3922 if (compile_expr0_ext(arg, cctx, &is_const) == FAIL) in compile_dict()
3928 whitep = *arg; in compile_dict()
3929 if (may_get_next_line(whitep, arg, cctx) == FAIL) in compile_dict()
3931 *arg = NULL; in compile_dict()
3934 if (**arg == '}') in compile_dict()
3936 if (**arg != ',') in compile_dict()
3938 semsg(_(e_missing_dict_comma), *arg); in compile_dict()
3946 whitep = *arg + 1; in compile_dict()
3949 semsg(_(e_white_space_required_after_str_str), ",", *arg); in compile_dict()
3952 *arg = skipwhite(whitep); in compile_dict()
3955 *arg = *arg + 1; in compile_dict()
3958 p = skipwhite(*arg); in compile_dict()
3959 if (VIM_ISWHITE(**arg) && vim9_comment_start(p)) in compile_dict()
3960 *arg += STRLEN(*arg); in compile_dict()
3967 if (*arg == NULL) in compile_dict()
3970 *arg = (char_u *)""; in compile_dict()
3980 compile_get_option(char_u **arg, cctx_T *cctx) in compile_get_option() argument
3983 char_u *start = *arg; in compile_get_option()
3988 ret = eval_option(arg, &rettv, TRUE); in compile_get_option()
3992 char_u *name = vim_strnsave(start, *arg - start); in compile_get_option()
4008 compile_get_env(char_u **arg, cctx_T *cctx) in compile_get_env() argument
4010 char_u *start = *arg; in compile_get_env()
4015 ++*arg; in compile_get_env()
4016 len = get_env_len(arg); in compile_get_env()
4034 compile_get_register(char_u **arg, cctx_T *cctx) in compile_get_register() argument
4038 ++*arg; in compile_get_register()
4039 if (**arg == NUL) in compile_get_register()
4041 semsg(_(e_syntax_error_at_str), *arg - 1); in compile_get_register()
4044 if (!valid_yank_reg(**arg, FALSE)) in compile_get_register()
4046 emsg_invreg(**arg); in compile_get_register()
4049 ret = generate_LOAD(cctx, ISN_LOADREG, **arg, NULL, &t_string); in compile_get_register()
4050 ++*arg; in compile_get_register()
4119 get_vim_constant(char_u **arg, typval_T *rettv) in get_vim_constant() argument
4121 if (STRNCMP(*arg, "v:true", 6) == 0) in get_vim_constant()
4125 *arg += 6; in get_vim_constant()
4127 else if (STRNCMP(*arg, "v:false", 7) == 0) in get_vim_constant()
4131 *arg += 7; in get_vim_constant()
4133 else if (STRNCMP(*arg, "v:null", 6) == 0) in get_vim_constant()
4137 *arg += 6; in get_vim_constant()
4139 else if (STRNCMP(*arg, "v:none", 6) == 0) in get_vim_constant()
4143 *arg += 6; in get_vim_constant()
4202 skip_expr_cctx(char_u **arg, cctx_T *cctx) in skip_expr_cctx() argument
4208 skip_expr(arg, &evalarg); in skip_expr_cctx()
4280 compile_parenthesis(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_parenthesis() argument
4283 char_u *p = *arg + 1; in compile_parenthesis()
4285 if (may_get_next_line_error(p, arg, cctx) == FAIL) in compile_parenthesis()
4289 ret = compile_expr1(arg, cctx, ppconst); in compile_parenthesis()
4296 ret = compile_expr0(arg, cctx); in compile_parenthesis()
4298 if (may_get_next_line_error(*arg, arg, cctx) == FAIL) in compile_parenthesis()
4300 if (**arg == ')') in compile_parenthesis()
4301 ++*arg; in compile_parenthesis()
4316 char_u **arg, in compile_subscript() argument
4327 char_u *p = skipwhite(*arg); in compile_subscript()
4329 if (*p == NUL || (VIM_ISWHITE(**arg) && vim9_comment_start(p))) in compile_subscript()
4345 *arg = next; in compile_subscript()
4346 p = skipwhite(*arg); in compile_subscript()
4352 if (**arg == '(') in compile_subscript()
4365 *arg = skipwhite(p + 1); in compile_subscript()
4366 if (compile_arguments(arg, cctx, &argcount, FALSE) == FAIL) in compile_subscript()
4392 *arg = skipwhite(p); in compile_subscript()
4394 if (**arg == '(') in compile_subscript()
4408 if (compile_parenthesis(arg, cctx, ppconst) == FAIL) in compile_subscript()
4416 if (**arg != '(') in compile_subscript()
4418 if (*skipwhite(*arg) == '(') in compile_subscript()
4421 semsg(_(e_missing_paren), *arg); in compile_subscript()
4424 *arg = skipwhite(*arg + 1); in compile_subscript()
4425 if (compile_arguments(arg, cctx, &argcount, FALSE) == FAIL) in compile_subscript()
4468 p = *arg; in compile_subscript()
4480 semsg(_(e_missing_paren), *arg); in compile_subscript()
4483 if (compile_call(arg, p - *arg, cctx, ppconst, 1) == FAIL) in compile_subscript()
4493 else if (**arg == '[') in compile_subscript()
4506 if (may_get_next_line_error(p, arg, cctx) == FAIL) in compile_subscript()
4508 if (**arg == ':') in compile_subscript()
4515 if (compile_expr0(arg, cctx) == FAIL) in compile_subscript()
4517 if (**arg == ':') in compile_subscript()
4520 ":", *arg); in compile_subscript()
4523 if (may_get_next_line_error(*arg, arg, cctx) == FAIL) in compile_subscript()
4525 *arg = skipwhite(*arg); in compile_subscript()
4527 if (**arg == ':') in compile_subscript()
4530 ++*arg; in compile_subscript()
4531 if (!IS_WHITE_OR_NUL(**arg) && **arg != ']') in compile_subscript()
4534 ":", *arg); in compile_subscript()
4537 if (may_get_next_line_error(*arg, arg, cctx) == FAIL) in compile_subscript()
4539 if (**arg == ']') in compile_subscript()
4544 if (compile_expr0(arg, cctx) == FAIL) in compile_subscript()
4546 if (may_get_next_line_error(*arg, arg, cctx) == FAIL) in compile_subscript()
4548 *arg = skipwhite(*arg); in compile_subscript()
4552 if (**arg != ']') in compile_subscript()
4557 *arg = *arg + 1; in compile_subscript()
4575 *arg = p + 1; in compile_subscript()
4576 if (IS_WHITE_OR_NUL(**arg)) in compile_subscript()
4581 p = *arg; in compile_subscript()
4585 if (p == *arg) in compile_subscript()
4587 semsg(_(e_syntax_error_at_str), *arg); in compile_subscript()
4592 if (generate_STRINGMEMBER(cctx, *arg, p - *arg) == FAIL) in compile_subscript()
4595 *arg = p; in compile_subscript()
4644 char_u **arg, in compile_expr7() argument
4658 start_leader = *arg; in compile_expr7()
4659 if (eval_leader(arg, TRUE) == FAIL) in compile_expr7()
4661 end_leader = *arg; in compile_expr7()
4664 switch (**arg) in compile_expr7()
4679 case '.': if (eval_number(arg, rettv, TRUE, FALSE) == FAIL) in compile_expr7()
4695 case '"': if (eval_string(arg, rettv, TRUE) == FAIL) in compile_expr7()
4702 case '\'': if (eval_lit_string(arg, rettv, TRUE) == FAIL) in compile_expr7()
4709 case 'v': get_vim_constant(arg, rettv); in compile_expr7()
4716 case 't': if (STRNCMP(*arg, "true", 4) == 0 in compile_expr7()
4717 && !eval_isnamec((*arg)[4])) in compile_expr7()
4719 *arg += 4; in compile_expr7()
4730 case 'f': if (STRNCMP(*arg, "false", 5) == 0 in compile_expr7()
4731 && !eval_isnamec((*arg)[5])) in compile_expr7()
4733 *arg += 5; in compile_expr7()
4744 case 'n': if (STRNCMP(*arg, "null", 4) == 0 in compile_expr7()
4745 && !eval_isnamec((*arg)[4])) in compile_expr7()
4747 *arg += 4; in compile_expr7()
4760 ret = compile_list(arg, cctx, ppconst); in compile_expr7()
4768 ret = compile_dict(arg, cctx, ppconst); in compile_expr7()
4776 ret = compile_get_option(arg, cctx); in compile_expr7()
4784 ret = compile_get_env(arg, cctx); in compile_expr7()
4792 ret = compile_get_register(arg, cctx); in compile_expr7()
4800 ret = compile_lambda(arg, cctx); in compile_expr7()
4802 ret = compile_parenthesis(arg, cctx, ppconst); in compile_expr7()
4825 if (!eval_isnamec1(**arg)) in compile_expr7()
4827 if (!vim9_bad_comment(*arg)) in compile_expr7()
4829 if (ends_excmd(*skipwhite(*arg))) in compile_expr7()
4830 semsg(_(e_empty_expression_str), *arg); in compile_expr7()
4832 semsg(_(e_name_expected_str), *arg); in compile_expr7()
4838 p = to_name_end(*arg, TRUE); in compile_expr7()
4839 if (p - *arg == (size_t)1 && **arg == '_') in compile_expr7()
4847 r = compile_call(arg, p - *arg, cctx, ppconst, 0); in compile_expr7()
4854 r = compile_load(arg, p, cctx, TRUE, TRUE); in compile_expr7()
4862 if (compile_subscript(arg, cctx, start_leader, &end_leader, in compile_expr7()
4894 compile_expr7t(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_expr7t() argument
4899 if (**arg == '<' && eval_isnamec1((*arg)[1])) in compile_expr7t()
4901 ++*arg; in compile_expr7t()
4902 want_type = parse_type(arg, cctx->ctx_type_list, TRUE); in compile_expr7t()
4906 if (**arg != '>') in compile_expr7t()
4908 if (*skipwhite(*arg) == '>') in compile_expr7t()
4909 semsg(_(e_no_white_space_allowed_before_str_str), ">", *arg); in compile_expr7t()
4914 ++*arg; in compile_expr7t()
4915 if (may_get_next_line_error(*arg, arg, cctx) == FAIL) in compile_expr7t()
4919 if (compile_expr7(arg, cctx, ppconst) == FAIL) in compile_expr7t()
4946 compile_expr6(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_expr6() argument
4953 if (compile_expr7t(arg, cctx, ppconst) == FAIL) in compile_expr6()
4961 op = may_peek_next_line(cctx, *arg, &next); in compile_expr6()
4966 *arg = next_line_from_context(cctx, TRUE); in compile_expr6()
4967 op = skipwhite(*arg); in compile_expr6()
4970 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(op[1])) in compile_expr6()
4975 if (may_get_next_line_error(op + 1, arg, cctx) == FAIL) in compile_expr6()
4979 if (compile_expr7t(arg, cctx, ppconst) == FAIL) in compile_expr6()
5024 compile_expr5(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_expr5() argument
5032 if (compile_expr6(arg, cctx, ppconst) == FAIL) in compile_expr5()
5040 op = may_peek_next_line(cctx, *arg, &next); in compile_expr5()
5050 *arg = next_line_from_context(cctx, TRUE); in compile_expr5()
5051 op = skipwhite(*arg); in compile_expr5()
5054 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(op[oplen])) in compile_expr5()
5060 if (may_get_next_line_error(op + oplen, arg, cctx) == FAIL) in compile_expr5()
5064 if (compile_expr6(arg, cctx, ppconst) == FAIL) in compile_expr5()
5139 compile_expr4(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_expr4() argument
5149 if (compile_expr5(arg, cctx, ppconst) == FAIL) in compile_expr4()
5152 p = may_peek_next_line(cctx, *arg, &next); in compile_expr4()
5164 *arg = next_line_from_context(cctx, TRUE); in compile_expr4()
5165 p = skipwhite(*arg); in compile_expr4()
5169 semsg(_(e_invalid_expression_str), *arg); in compile_expr4()
5183 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[len])) in compile_expr4()
5190 if (may_get_next_line_error(p + len, arg, cctx) == FAIL) in compile_expr4()
5193 if (compile_expr5(arg, cctx, ppconst) == FAIL) in compile_expr4()
5226 static int compile_expr3(char_u **arg, cctx_T *cctx, ppconst_T *ppconst);
5233 char_u **arg, in compile_and_or() argument
5240 char_u *p = may_peek_next_line(cctx, *arg, &next); in compile_and_or()
5266 *arg = next_line_from_context(cctx, TRUE); in compile_and_or()
5267 p = skipwhite(*arg); in compile_and_or()
5270 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[2])) in compile_and_or()
5337 if (may_get_next_line_error(p + 2, arg, cctx) == FAIL) in compile_and_or()
5344 if ((opchar == '|' ? compile_expr3(arg, cctx, ppconst) in compile_and_or()
5345 : compile_expr4(arg, cctx, ppconst)) == FAIL) in compile_and_or()
5365 p = may_peek_next_line(cctx, *arg, &next); in compile_and_or()
5417 compile_expr3(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_expr3() argument
5422 if (compile_expr4(arg, cctx, ppconst) == FAIL) in compile_expr3()
5426 return compile_and_or(arg, cctx, "&&", ppconst, ppconst_used); in compile_expr3()
5442 compile_expr2(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_expr2() argument
5447 if (compile_expr3(arg, cctx, ppconst) == FAIL) in compile_expr2()
5451 return compile_and_or(arg, cctx, "||", ppconst, ppconst_used); in compile_expr2()
5472 compile_expr1(char_u **arg, cctx_T *cctx, ppconst_T *ppconst) in compile_expr1() argument
5481 skip_expr_cctx(arg, cctx); in compile_expr1()
5486 if (compile_expr2(arg, cctx, ppconst) == FAIL) in compile_expr1()
5489 p = may_peek_next_line(cctx, *arg, &next); in compile_expr1()
5505 *arg = next_line_from_context(cctx, TRUE); in compile_expr1()
5506 p = skipwhite(*arg); in compile_expr1()
5509 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[1 + op_falsy])) in compile_expr1()
5556 if (may_get_next_line_error(p + 1 + op_falsy, arg, cctx) == FAIL) in compile_expr1()
5558 if (compile_expr1(arg, cctx, ppconst) == FAIL) in compile_expr1()
5583 p = may_peek_next_line(cctx, *arg, &next); in compile_expr1()
5591 *arg = next_line_from_context(cctx, TRUE); in compile_expr1()
5592 p = skipwhite(*arg); in compile_expr1()
5595 if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[1])) in compile_expr1()
5606 if (may_get_next_line_error(p + 1, arg, cctx) == FAIL) in compile_expr1()
5608 if (compile_expr1(arg, cctx, ppconst) == FAIL) in compile_expr1()
5638 compile_expr0_ext(char_u **arg, cctx_T *cctx, int *is_const) in compile_expr0_ext() argument
5643 if (compile_expr1(arg, cctx, &ppconst) == FAIL) in compile_expr0_ext()
5659 compile_expr0(char_u **arg, cctx_T *cctx) in compile_expr0() argument
5661 return compile_expr0_ext(arg, cctx, NULL); in compile_expr0()
5669 compile_return(char_u *arg, int check_return_type, int legacy, cctx_T *cctx) in compile_return() argument
5671 char_u *p = arg; in compile_return()
5790 int is_global = *eap->arg == 'g' && eap->arg[1] == ':'; in compile_nested_function()
5791 char_u *name_start = eap->arg; in compile_nested_function()
5792 char_u *name_end = to_name_end(eap->arg, TRUE); in compile_nested_function()
5834 eap->arg = name_end; in compile_nested_function()
6877 compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx) in compile_assignment() argument
6881 char_u *end = arg; in compile_assignment()
6900 p = skip_var_list(arg, TRUE, &var_count, &semicolon, TRUE); in compile_assignment()
6902 return *arg == '[' ? arg : NULL; in compile_assignment()
6920 return arg; in compile_assignment()
7008 var_start = skipwhite(arg + 1); // skip over the "[" in compile_assignment()
7010 var_start = arg; in compile_assignment()
7577 compile_unletlock(char_u *arg, exarg_T *eap, cctx_T *cctx) in compile_unletlock() argument
7579 ex_unletlock(eap, arg, 0, GLV_NO_AUTOLOAD | GLV_COMPILING, in compile_unletlock()
7714 compile_if(char_u *arg, cctx_T *cctx) in compile_if() argument
7716 char_u *p = arg; in compile_if()
7729 if (!ends_excmd2(arg, skipwhite(p))) in compile_if()
7793 compile_elseif(char_u *arg, cctx_T *cctx) in compile_elseif() argument
7795 char_u *p = arg; in compile_elseif()
7902 if (!ends_excmd2(arg, skipwhite(p))) in compile_elseif()
7944 compile_else(char_u *arg, cctx_T *cctx) in compile_else() argument
7946 char_u *p = arg; in compile_else()
8012 compile_endif(char_u *arg, cctx_T *cctx) in compile_endif() argument
8058 return arg; in compile_endif()
8084 char_u *arg; in compile_for() local
8154 arg = p; in compile_for()
8155 if (compile_expr0(&arg, cctx) == FAIL) in compile_for()
8160 arg_end = arg; in compile_for()
8199 arg = arg_start; in compile_for()
8203 arg = skipwhite(arg + 1); // skip white after '[' in compile_for()
8229 p = skip_var_one(arg, FALSE); in compile_for()
8230 varlen = p - arg; in compile_for()
8231 name = vim_strnsave(arg, varlen); in compile_for()
8250 else if (varlen == 1 && *arg == '_') in compile_for()
8258 if (lookup_local(arg, varlen, NULL, cctx) == OK) in compile_for()
8260 semsg(_(e_variable_already_declared), arg); in compile_for()
8282 var_lvar = reserve_local(cctx, arg, varlen, TRUE, lhs_type); in compile_for()
8296 arg = skipwhite(p); in compile_for()
8324 compile_endfor(char_u *arg, cctx_T *cctx) in compile_endfor() argument
8362 return arg; in compile_endfor()
8377 compile_while(char_u *arg, cctx_T *cctx) in compile_while() argument
8379 char_u *p = arg; in compile_while()
8393 if (!ends_excmd2(arg, skipwhite(p))) in compile_while()
8420 compile_endwhile(char_u *arg, cctx_T *cctx) in compile_endwhile() argument
8453 return arg; in compile_endwhile()
8460 compile_continue(char_u *arg, cctx_T *cctx) in compile_continue() argument
8496 return arg; in compile_continue()
8503 compile_break(char_u *arg, cctx_T *cctx) in compile_break() argument
8528 return arg; in compile_break()
8535 compile_block(char_u *arg, cctx_T *cctx) in compile_block() argument
8539 return skipwhite(arg + 1); in compile_block()
8588 compile_try(char_u *arg, cctx_T *cctx) in compile_try() argument
8623 return arg; in compile_try()
8630 compile_catch(char_u *arg, cctx_T *cctx UNUSED) in compile_catch() argument
8696 p = skipwhite(arg); in compile_catch()
8697 if (ends_excmd2(arg, p)) in compile_catch()
8749 compile_finally(char_u *arg, cctx_T *cctx) in compile_finally() argument
8818 return arg; in compile_finally()
8822 compile_endtry(char_u *arg, cctx_T *cctx) in compile_endtry() argument
8898 return arg; in compile_endtry()
8905 compile_throw(char_u *arg, cctx_T *cctx UNUSED) in compile_throw() argument
8907 char_u *p = skipwhite(arg); in compile_throw()
8922 compile_eval(char_u *arg, cctx_T *cctx) in compile_eval() argument
8924 char_u *p = arg; in compile_eval()
8931 name_only = cmd_is_name_only(arg); in compile_eval()
8938 semsg(_(e_expression_without_effect_str), arg); in compile_eval()
8956 compile_mult_expr(char_u *arg, int cmdidx, cctx_T *cctx) in compile_mult_expr() argument
8958 char_u *p = arg; in compile_mult_expr()
8959 char_u *prev = arg; in compile_mult_expr()
9034 compile_put(char_u *arg, exarg_T *eap, cctx_T *cctx) in compile_put() argument
9036 char_u *line = arg; in compile_put()
9120 && *eap->arg == '!') in compile_exec()
9132 p = eap->arg; in compile_exec()
9147 p = eap->arg + STRLEN(eap->arg) - 1; in compile_exec()
9148 while (p > eap->arg && VIM_ISWHITE(*p)) in compile_exec()
9157 ea.arg = eap->arg; in compile_exec()
9174 if (eap->cmdidx == CMD_syntax && STRNCMP(eap->arg, "include ", 8) == 0) in compile_exec()
9178 eap->arg = skipwhite(eap->arg + 7); in compile_exec()
9179 if (*eap->arg == '@') in compile_exec()
9180 eap->arg = skiptowhite(eap->arg); in compile_exec()
9184 && STRLEN(eap->arg) > 4) in compile_exec()
9186 int delim = *eap->arg; in compile_exec()
9188 p = skip_regexp_ex(eap->arg + 1, delim, TRUE, NULL, NULL, NULL); in compile_exec()
9191 eap->arg = p + 1; in compile_exec()
9199 eap->arg = skiptowhite(eap->arg); in compile_exec()
9203 if (has_expr && (p = (char_u *)strstr((char *)eap->arg, "`=")) != NULL) in compile_exec()
9295 compile_substitute(char_u *arg, exarg_T *eap, cctx_T *cctx) in compile_substitute() argument
9297 char_u *cmd = eap->arg; in compile_substitute()
9357 isn->isn_arg.subs.subs_cmd = vim_strsave(arg); in compile_substitute()
9369 return compile_exec(arg, eap, cctx); in compile_substitute()
9375 char_u *arg = eap->arg; in compile_redir() local
9380 if (STRNCMP(arg, "END", 3) == 0) in compile_redir()
9410 return arg + 3; in compile_redir()
9416 if (arg[0] == '=' && arg[1] == '>') in compile_redir()
9421 arg += 2; in compile_redir()
9422 if (*arg == '>') in compile_redir()
9424 ++arg; in compile_redir()
9427 arg = skipwhite(arg); in compile_redir()
9429 if (compile_assign_lhs(arg, lhs, CMD_redir, in compile_redir()
9436 lhs->lhs_whole = vim_strnsave(arg, lhs->lhs_varlen_total); in compile_redir()
9441 return arg + lhs->lhs_varlen_total; in compile_redir()
9460 p = eap->arg; in compile_cexpr()
9482 check_global_and_subst(char_u *cmd, char_u *arg) in check_global_and_subst() argument
9484 if (arg == cmd + 1 && vim_strchr((char_u *)":-.", *arg) != NULL) in check_global_and_subst()
9486 semsg(_(e_separator_not_supported_str), arg); in check_global_and_subst()
9634 char_u *arg; in compile_def_function() local
9657 arg = ((char_u **)(ufunc->uf_def_args.ga_data))[i]; in compile_def_function()
9658 r = compile_expr0(&arg, &cctx); in compile_def_function()
9977 ea.arg = p; in compile_def_function()
10098 ea.arg = p; in compile_def_function()
10104 ea.arg = p; in compile_def_function()
10115 ea.arg = p; in compile_def_function()
10151 ea.arg = p; in compile_def_function()
10166 ea.arg = p; in compile_def_function()