Fix loop and control flow syntax

This commit is contained in:
Tad Hardesty
2020-01-18 22:56:10 -08:00
parent 6ed5f8de4b
commit 7bd3208cc6
5 changed files with 6 additions and 6 deletions

View File

@@ -134,7 +134,7 @@ var/const/Represents a special statement in the code triggered by a keyword.
parser.NextToken()
if(!parser.CheckToken("(", /token/symbol))
return KW_FAIL
for() //for now parameters can be separated by whitespace - they don't need a comma in between
while(TRUE) //for now parameters can be separated by whitespace - they don't need a comma in between
if(istype(parser.curToken, /token/symbol))
switch(parser.curToken.value)
if(",")