Add debugging messages to help track down issue 1
This commit is contained in:
parent
84fbd5bd61
commit
a3ca8e621b
|
@ -251,6 +251,8 @@ struct ASTNode* ParseIdentifier() {
|
||||||
|
|
||||||
VerifyToken(TY_IDENTIFIER, "ident");
|
VerifyToken(TY_IDENTIFIER, "ident");
|
||||||
|
|
||||||
|
printf("After parsing, the identifier name is %s, id %d in the symbol table.\n", CurrentIdentifier, FindSymbol(CurrentIdentifier));
|
||||||
|
|
||||||
if(CurrentToken.type == LI_LPARE)
|
if(CurrentToken.type == LI_LPARE)
|
||||||
return CallFunction();
|
return CallFunction();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user