Skip to content

Commit

Permalink
Fixes #31 - Add tokenizing new keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed May 4, 2024
1 parent 56b2688 commit 0fba249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lexer/src/main/antlr4/BengalLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ lexer grammar BengalLexer;

KEYWORD_CLASS : 'class';
KEYWORD_IF : 'if';
KEYWORD_NEW : 'new';

LEFT_CURLY : '{';
RIGHT_CURLY : '}';
Expand Down

0 comments on commit 0fba249

Please sign in to comment.