Skip to content

Commit

Permalink
[Compiler] Translate ^Z (char 26) to EOF token. Fix for #1485
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertvanderHulst committed Jun 18, 2024
1 parent b035e8a commit 8211b3f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,9 @@ public override IToken NextToken()
parseOne(LCURLY);
}
break;
case '\u001a': // EOF
parseOne(EOF);
break;
case '}':
parseOne(RCURLY);
break;
Expand Down

0 comments on commit 8211b3f

Please sign in to comment.