Lines Matching refs:op

678 check_number_or_float(vartype_T type1, vartype_T type2, char_u *op)  in check_number_or_float()  argument
684 if (*op == '+') in check_number_or_float()
687 semsg(_(e_char_requires_number_or_float_arguments), *op); in check_number_or_float()
724 isn->isn_arg.op.op_type = expr_type; in generate_add_instr()
726 isn->isn_arg.op.op_type = EXPR_ADD; in generate_add_instr()
763 generate_two_op(cctx_T *cctx, char_u *op) in generate_two_op() argument
778 switch (*op) in generate_two_op()
789 op) == FAIL) in generate_two_op()
800 isn->isn_arg.op.op_type = *op == '*' in generate_two_op()
801 ? EXPR_MULT : *op == '/'? EXPR_DIV : EXPR_SUB; in generate_two_op()
815 isn->isn_arg.op.op_type = EXPR_REM; in generate_two_op()
930 isn->isn_arg.op.op_type = exprtype; in generate_COMPARE()
931 isn->isn_arg.op.op_ic = ic; in generate_COMPARE()
4882 error_white_both(char_u *op, int len) in error_white_both() argument
4886 vim_strncpy(buf, op, len); in error_white_both()
4887 semsg(_(e_white_space_required_before_and_after_str_at_str), buf, op); in error_white_both()
4948 char_u *op; in compile_expr6() local
4961 op = may_peek_next_line(cctx, *arg, &next); in compile_expr6()
4962 if (*op != '*' && *op != '/' && *op != '%') 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()
4972 error_white_both(op, 1); in compile_expr6()
4975 if (may_get_next_line_error(op + 1, arg, cctx) == FAIL) in compile_expr6()
4992 switch (*op) in compile_expr6()
5011 generate_two_op(cctx, op); in compile_expr6()
5026 char_u *op; in compile_expr5() local
5040 op = may_peek_next_line(cctx, *arg, &next); in compile_expr5()
5041 if (*op != '+' && *op != '-' && !(*op == '.' && *(op + 1) == '.')) in compile_expr5()
5043 if (op[0] == op[1] && *op != '.' && next) in compile_expr5()
5047 oplen = (*op == '.' ? 2 : 1); 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()
5056 error_white_both(op, oplen); in compile_expr5()
5060 if (may_get_next_line_error(op + oplen, arg, cctx) == FAIL) in compile_expr5()
5068 && (*op == '.' in compile_expr5()
5078 if (*op == '+') in compile_expr5()
5080 else if (*op == '-') in compile_expr5()
5106 if (*op == '.') in compile_expr5()
5114 generate_two_op(cctx, op); in compile_expr5()
5235 char *op, in compile_and_or() argument
5241 int opchar = *op; in compile_and_or()
5273 op, p); in compile_and_or()
6889 char_u *op; in compile_assignment() local
6915 op = p; in compile_assignment()
6922 if (oplen > 0 && (!VIM_ISWHITE(*sp) || !IS_WHITE_OR_NUL(op[oplen]))) in compile_assignment()
6924 error_white_both(op, oplen); in compile_assignment()
6935 op = (char_u *)(eap->cmdidx == CMD_increment ? "+=" : "-="); in compile_assignment()
6948 l = heredoc_get(eap, op + 3, FALSE); in compile_assignment()
6974 wp = op + oplen; in compile_assignment()
7050 p = skipwhite(op + oplen); in compile_assignment()
7060 if (*op != '=' in compile_assignment()
7082 wp = op + oplen; in compile_assignment()
7107 if (generate_GETITEM(cctx, var_idx, *op != '=') == FAIL) in compile_assignment()
7142 else if (*op == '=') in compile_assignment()
7249 if (oplen > 0 && *op != '=') in compile_assignment()
7254 if (*op == '.') in compile_assignment()
7274 if (*op == '.') in compile_assignment()
7279 else if (*op == '+') in compile_assignment()
7287 else if (generate_two_op(cctx, op) == FAIL) in compile_assignment()