From 5a93c32a59775cd1be4b4f450e8230016b434366 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 15 Mar 2019 18:17:50 +0100 Subject: Resolve variable references --- include/parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/parser.h') 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; -- cgit v1.2.3