It worksgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit status!
This commit is contained in:
@ -102,9 +102,6 @@ void print_tok(int tok) {
|
||||
int run(FILE *alpha) {
|
||||
int token;
|
||||
top = cur = init(CreateScope(NULL, 1, 1));
|
||||
Stack *stack = S_Init();
|
||||
Stack *TrueList = S_Init();
|
||||
Stack *FalseList = S_Init();
|
||||
|
||||
|
||||
// If file is not found
|
||||
@ -130,6 +127,9 @@ int run(FILE *alpha) {
|
||||
fseek(alpha, 0, SEEK_SET);
|
||||
|
||||
yyin = alpha;
|
||||
stack = S_Init();
|
||||
TrueList = S_Init();
|
||||
FalseList = S_Init();
|
||||
yyparse();
|
||||
|
||||
if (tok_flag != NULL) {
|
||||
|
Reference in New Issue
Block a user