Added comment
parent
1c335db683
commit
302017e051
|
@ -88,6 +88,13 @@ public final class Parser
|
||||||
/* TODO: Implement body parsing */
|
/* TODO: Implement body parsing */
|
||||||
nextToken();
|
nextToken();
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If we were able to get a closing token, `}`, then
|
||||||
|
* this will be set to true, else it will be false by
|
||||||
|
* default which implies we ran out of tokens before
|
||||||
|
* we could close te body which is an error we do throw
|
||||||
|
*/
|
||||||
bool closedBeforeExit;
|
bool closedBeforeExit;
|
||||||
|
|
||||||
|
|
||||||
|
@ -135,8 +142,6 @@ public final class Parser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gprintln("habba");
|
|
||||||
|
|
||||||
/* TODO: We can sometimes run out of tokens before getting our closing brace, we should fix that here */
|
/* TODO: We can sometimes run out of tokens before getting our closing brace, we should fix that here */
|
||||||
if(!closedBeforeExit)
|
if(!closedBeforeExit)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue