mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.2501: not always clear where an error is reported
Problem: Not always clear where an error is reported. Solution: Add the where_T structure and pass it around. (closes #7796)
This commit is contained in:
@@ -11,10 +11,12 @@ int func_type_add_arg_types(type_T *functype, int argcount, garray_T *type_gap);
|
||||
int need_convert_to_bool(type_T *type, typval_T *tv);
|
||||
type_T *typval2type(typval_T *tv, garray_T *type_gap);
|
||||
type_T *typval2type_vimvar(typval_T *tv, garray_T *type_gap);
|
||||
int check_typval_type(type_T *expected, typval_T *actual_tv, int argidx);
|
||||
int check_typval_arg_type(type_T *expected, typval_T *actual_tv, int arg_idx);
|
||||
int check_typval_type(type_T *expected, typval_T *actual_tv, where_T where);
|
||||
void type_mismatch(type_T *expected, type_T *actual);
|
||||
void arg_type_mismatch(type_T *expected, type_T *actual, int argidx);
|
||||
int check_type(type_T *expected, type_T *actual, int give_msg, int argidx);
|
||||
void arg_type_mismatch(type_T *expected, type_T *actual, int arg_idx);
|
||||
void type_mismatch_where(type_T *expected, type_T *actual, where_T where);
|
||||
int check_type(type_T *expected, type_T *actual, int give_msg, where_T where);
|
||||
int check_argument_types(type_T *type, typval_T *argvars, int argcount, char_u *name);
|
||||
char_u *skip_type(char_u *start, int optional);
|
||||
type_T *parse_type(char_u **arg, garray_T *type_gap, int give_error);
|
||||
|
Reference in New Issue
Block a user