Fix parser crashing in repeat-until block
This commit is contained in:
parent
eaba371455
commit
fcaf1c1570
@ -463,7 +463,8 @@ class Parser
|
||||
tokens[index].type != TokenType.Return &&
|
||||
tokens[index].type != TokenType.End &&
|
||||
tokens[index].type != TokenType.Elseif &&
|
||||
tokens[index].type != TokenType.Else)
|
||||
tokens[index].type != TokenType.Else &&
|
||||
tokens[index].type != TokenType.Until)
|
||||
{
|
||||
stats.Add(ParseStat(tokens));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user