added more symbol table functions
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
// Prologue
|
||||
%{
|
||||
#include <stdio.h>
|
||||
#include "symbol_table.c"
|
||||
%}
|
||||
|
||||
%token ID 101
|
||||
@ -53,7 +54,7 @@
|
||||
%token RELEASE 614
|
||||
%token COMMENT 700
|
||||
%%
|
||||
B : '{' E '}'; //Braced Expressions can have braces removed to get regular expressions
|
||||
B : '{'{CreateScope(cur,line,column)} E '}'; //Braced Expressions can have braces removed to get regular expressions
|
||||
D : '[' l ']'; //Declaration Lists Brackets can be taken out to get a list of Declarations
|
||||
E : Maybe_D U; //An expression can start with an optional D followed by an undeclared segment
|
||||
Maybe_D : D
|
||||
|
Reference in New Issue
Block a user