aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-15 18:17:50 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit5a93c32a59775cd1be4b4f450e8230016b434366 (patch)
treeb89f3f7c8b07176aa5ae783319d9e613a42db703 /include/parser.h
parentd4ca9de33906972fa06bd2b7e38cbc2b4d3574c2 (diff)
Resolve variable references
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/parser.h b/include/parser.h
index 20f02fe..84d46bd 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -35,6 +35,7 @@ typedef enum {
struct Parser {
Tokenizer tokenizer;
Scope scope;
+ Scope *current_scope;
ScopedAllocator *allocator; /* borrowed. Copied from @compiler for faster access to allocator */
amal_compiler *compiler;
bool started;