Skip to content

Commit

Permalink
Fix a bug in lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
valis committed Sep 6, 2021
1 parent be694e8 commit f291daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/grammars/ArendLexer.flex
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ OCT_DIGIT = [0-8]
"\\oo" { return OO_KW; }
"\\suc" { return SUC_KW; }
"\\level" { return LEVEL_KW; }
"\\levels" { yybegin(LEVEL_PARAMETERS); return LEVELS_KW; }
"\\levels" { return LEVELS_KW; }
"\\plevels" { yybegin(LEVEL_PARAMETERS); return PLEVELS_KW; }
"\\hlevels" { return HLEVELS_KW; }
"\\hlevels" { yybegin(LEVEL_PARAMETERS); return HLEVELS_KW; }
"\\max" { return MAX_KW; }

{STRING} { return STRING; }
Expand Down

0 comments on commit f291daf

Please sign in to comment.