Fixed spacing in the files t#NONE
This commit is contained in:
@ -134,13 +134,13 @@ int getColumn(SymbolTable* st) { return st->Column_Number; }
|
|||||||
// standalone test of table and entry creation
|
// standalone test of table and entry creation
|
||||||
|
|
||||||
/*
|
/*
|
||||||
int main(){
|
int main(){
|
||||||
char* String = "STRING";
|
char* String = "STRING";
|
||||||
char* X = "X";
|
char* X = "X";
|
||||||
SymbolTable* Second = CreateScope(NULL, 2,2);
|
SymbolTable* Second = CreateScope(NULL, 2,2);
|
||||||
printf("Line number is %d, Column number of scope is
|
printf("Line number is %d, Column number of scope is
|
||||||
%d\n",Second->Line_Number,Second->Column_Number); TableNode* First_Entry =
|
%d\n",Second->Line_Number,Second->Column_Number); TableNode* First_Entry =
|
||||||
CreateEntry(Second,String,X);
|
CreateEntry(Second,String,X);
|
||||||
|
|
||||||
printf("The type of the first entry is %s\n",First_Entry->theType);
|
printf("The type of the first entry is %s\n",First_Entry->theType);
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user