Fixed bug whereby any splitter would result in the addition of the semi-colon, regardless of the splitter character

This commit is contained in:
Tristan B. Velloza Kildaire 2021-03-02 22:44:24 +02:00
parent acab7dd5f3
commit 1b0de5776b
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ public final class Lexer
currentToken = "";
}
/* Add the ; token */
currentTokens ~= ";";
/* Add the splitter token */
currentTokens ~= ""~currentChar;
position++;
}