summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 8d86d11b1..550e53a2b 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -4387,3 +4387,10 @@ typedef enum {
MAGIC_ON = 3, // "\m" or 'magic'
MAGIC_ALL = 4 // "\v" very magic
} magic_T;
+
+// Struct used to pass to error messages about where the error happened.
+typedef struct {
+ char wt_index; // argument or variable index, 0 means unknown
+ char wt_variable; // "variable" when TRUE, "argument" otherwise
+} where_T;
+