Track filename and line number where variables are defined.

This commit is contained in:
Dianne Skoll
2025-05-24 22:58:28 -04:00
parent 102748397f
commit 9624b1045c
3 changed files with 7 additions and 3 deletions
+2
View File
@@ -107,6 +107,8 @@ typedef struct var {
char preserve;
char is_constant;
char used_since_set;
char const *filename;
int lineno;
Value v;
} Var;