Testing suite updated
This commit is contained in:
1 parent
0c8c3e30f3
commit
5aefd319ae
20 files changed
+573
-172
No files matched your search
+7
-2
@@ -131,8 +131,13 @@ int run(FILE *alpha) {
|
||||
}
|
||||
|
||||
if (st_flag != NULL) {
|
||||
// output symbol table, file pointer is
|
||||
// print_symbol_table(top,st_flag);
|
||||
yyparse();
|
||||
print_symbol_table(getAncestor(cur), st_flag);
|
||||
fclose(st_flag);
|
||||
if (yyin != NULL) {
|
||||
fclose(yyin);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
yyparse();
|
||||
|
||||
Reference in new issue
Block a user