Testing suite updated

This commit is contained in:
Scarlett committed 2025-03-26 12:48:27 -04:00
1 parent 0c8c3e30f3
commit 5aefd319ae
20 files changed
+573 -172

No files matched your search

+7 -2
View File
@@ -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();