We would never not start on an if, hence said variable would always be true

This commit is contained in:
Tristan B. Velloza Kildaire 2021-03-20 18:31:20 +02:00
parent 2873a6ab4e
commit 6edae88d76
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public final class Parser
hasIf = true;
}
else if (getSymbolType(getCurrentToken()) == SymbolType.ELSE && hasIf)
else if (getSymbolType(getCurrentToken()) == SymbolType.ELSE)
{
/* Pop off the `else` */
nextToken();