mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.3200: Vim9: hard to guess where a type error is given
Problem: Vim9: hard to guess where a type error is given. Solution: Add the function name where possible. (closes #8608)
This commit is contained in:
@@ -4438,7 +4438,10 @@ typedef enum {
|
||||
|
||||
// Struct used to pass to error messages about where the error happened.
|
||||
typedef struct {
|
||||
char *wt_func_name; // function name or NULL
|
||||
char wt_index; // argument or variable index, 0 means unknown
|
||||
char wt_variable; // "variable" when TRUE, "argument" otherwise
|
||||
} where_T;
|
||||
|
||||
#define WHERE_INIT {NULL, 0, 0}
|
||||
|
||||
|
Reference in New Issue
Block a user