fixed issues with the compilation process
This commit is contained in:
7
runner.c
7
runner.c
@ -1,5 +1,4 @@
|
||||
//#include "symbol_table.h"
|
||||
#include "symbol_table.c"
|
||||
#include "runner.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
@ -88,7 +87,7 @@ int run(FILE *alpha) {
|
||||
|
||||
if (st_flag != NULL) {
|
||||
//output symbol table, file pointer is
|
||||
print_symbol_table(curr,st_flag);
|
||||
print_symbol_table(top,st_flag);
|
||||
}
|
||||
|
||||
if (yyin != NULL) {
|
||||
@ -166,7 +165,3 @@ void exit_scope() {
|
||||
}
|
||||
curr = curr->Parent_Scope;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user