This commit is contained in:
Tristan B. Velloza Kildaire 2021-03-17 22:25:07 +02:00
parent b84ee81e7b
commit 9c22731098
1 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ public final class Parser
{
gprintln("parseFuncDef(): Enter", DebugType.WARNING);
/* TODO: Implement function parsing */
/* Consume the `(` token */
nextToken();
/* Count for number of parameters processed */
@ -340,7 +340,7 @@ public final class Parser
/* TODO: Just leave it, yeah */
}
}
/* TODO: Add the `)` and `;` detection here to terminate ourselves */
/* Detect if this expression is coming to an end, then return */
else if(symbol == SymbolType.SEMICOLON || symbol == SymbolType.RBRACE)
{
break;