combined symbol table with IR in this branch
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
/* The Translators - Spring 2025 */
|
||||
|
||||
#include "runner.h"
|
||||
|
||||
//Constant_Stack *head = NULL;
|
||||
int main(int argc, char *argv[]) {
|
||||
if (argc == 1) {
|
||||
fprintf(stderr, INVALID);
|
||||
@ -121,6 +121,7 @@ int run(FILE *alpha) {
|
||||
|
||||
if (st_flag != NULL) {
|
||||
print_symbol_table(top, st_flag);
|
||||
//emit_as_file(stdout, begin);
|
||||
fclose(st_flag);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user