aboutsummaryrefslogtreecommitdiff
path: root/pc.y
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-07-27 21:08:22 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-07-27 21:08:22 -0400
commit60507214c098beaf3ae01a202e564bfe2f7c8364 (patch)
treef189004a59cf1a19a743469a92f996f7615cdc02 /pc.y
parentd9ba5ec2f86dd69eae4edac586a889fccd8d31b1 (diff)
Add basic scoping
Diffstat (limited to 'pc.y')
-rw-r--r--pc.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/pc.y b/pc.y
index e8f2baa..e7cb06e 100644
--- a/pc.y
+++ b/pc.y
@@ -7,7 +7,7 @@
#include "tree.h"
#include "y.tab.h"
#include "pc.h"
-/*#include "sem_check.h"*/
+#include "sem_check.h"
/*
TODO:
@@ -15,6 +15,7 @@ TODO:
*/
extern int yylex();
+extern scope *cur_scope;
%}