Skip to content

Commit

Permalink
Fixes #28 - Add tokenizing left parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Apr 27, 2024
1 parent ddd8c0c commit 658bebc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lexer/src/main/antlr4/BengalLexer.g4
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
lexer grammar BengalLexer;

KEYWORD_CLASS : 'class';
KEYWORD_IF : 'if';

LEFT_CURLY : '{';
RIGHT_CURLY : '}';
SEMI_COLON : ';';
DOT : '.';
KEYWORD_CLASS : 'class';
KEYWORD_IF : 'if';

LEFT_CURLY : '{';
RIGHT_CURLY : '}';
SEMI_COLON : ';';
DOT : '.';
LEFT_PARENTHESIS : '(';

0 comments on commit 658bebc

Please sign in to comment.