diff --git a/Parser.cs b/Parser.cs index 9ab4064..1550569 100644 --- a/Parser.cs +++ b/Parser.cs @@ -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)); }