Added enter and leave debug prints to `parseBody()`

This commit is contained in:
Tristan B. Velloza Kildaire 2021-03-05 12:00:13 +02:00
parent 2cdc53e9b6
commit 88a5c0e482
1 changed files with 4 additions and 0 deletions

View File

@ -119,6 +119,8 @@ public final class Parser
private void parseBody()
{
gprintln("parseBody(): Enter", DebugType.WARNING);
/* TODO: Implement body parsing */
nextToken();
@ -191,6 +193,8 @@ public final class Parser
gprintln("Expected closing } but ran out of tokens", DebugType.ERROR);
exit(0);
}
gprintln("parseBody(): Leave", DebugType.WARNING);
}
private void parseFuncDef()