Fix the conflicts t#29
This commit is contained in:
2
runner.c
2
runner.c
@ -1,4 +1,4 @@
|
||||
#include "symbol_table.h"
|
||||
//#include "symbol_table.h"
|
||||
#include "symbol_table.c"
|
||||
#include "runner.h"
|
||||
|
||||
|
4
runner.h
4
runner.h
@ -20,9 +20,9 @@ int arg;
|
||||
SymbolTable * top;
|
||||
SymbolTable * curr;
|
||||
|
||||
int main(int argc, char* argv[]);
|
||||
// int main(int argc, char* argv[]);
|
||||
char *is_tok(int argc, char* argv[]);
|
||||
int is_alpha_file(char *file, int file_len);
|
||||
// int is_alpha_file(char *file, int file_len);
|
||||
void enter_scope(int, int);
|
||||
void exit_scope(void);
|
||||
|
||||
|
@ -69,6 +69,7 @@ TableNode * look_up(SymbolTable * table, char * x){
|
||||
|
||||
//uncomment the below main function along with the headers above for a simple standalone test of table and entry creation
|
||||
|
||||
/*
|
||||
int main(){
|
||||
char* String = "STRING";
|
||||
char* X = "X";
|
||||
@ -79,3 +80,4 @@ int main(){
|
||||
printf("The type of the first entry is %s\n",First_Entry->theType);
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user