]> git.mdlowis.com Git - proto/obnc.git/commitdiff
added global and local symbol list
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 19 Apr 2021 20:33:26 +0000 (16:33 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 19 Apr 2021 20:33:26 +0000 (16:33 -0400)
cerise/cerise.h

index 625b5c0b3e2b3cd7422b87c2633d4e90f0bf26e5..b819f93228b00b46bafdadbbd1a69e8f37bdaea1 100644 (file)
@@ -106,6 +106,8 @@ typedef struct {
     LexFile* done;
     LexFile* file;
     Tok tok;
+    Symbol globals;
+    Symbol locals;
     int valstack_idx;
     Value valstack[1024];
 } Parser;