diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-07-27 21:08:22 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-07-27 21:08:22 -0400 |
commit | 60507214c098beaf3ae01a202e564bfe2f7c8364 (patch) | |
tree | f189004a59cf1a19a743469a92f996f7615cdc02 /pc.y | |
parent | d9ba5ec2f86dd69eae4edac586a889fccd8d31b1 (diff) |
Add basic scoping
Diffstat (limited to 'pc.y')
-rw-r--r-- | pc.y | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; %} |