Skip to content

Commit

Permalink
reordered EXIT rule before the NAME rule so that it matches correctly (
Browse files Browse the repository at this point in the history
  • Loading branch information
YutingShang authored Nov 17, 2024
1 parent 5c7ff0b commit 35a6f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fortran/fortran90/Fortran90Lexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,10 @@ ICON: NUM+;

TYPE: 'type' | 'TYPE' | 'Type';

NAME: LETTER ( ALPHANUMERIC_CHARACTER)*;

EXIT: 'EXIT' | 'exit';

NAME: LETTER ( ALPHANUMERIC_CHARACTER)*;

BLANK: 'BLANK' | 'blank';

ALPHANUMERIC_CHARACTER: LETTER | NUM | SCORE;
Expand Down

0 comments on commit 35a6f12

Please sign in to comment.