Skip to content

Commit

Permalink
Remove TOKEN_NUMBER (unused)
Browse files Browse the repository at this point in the history
Some maps use #xx to indicate an identifier, so remove this token to avoid errors
  • Loading branch information
smallmodel authored Dec 8, 2024
1 parent f719b87 commit a08a9a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion code/parser/bison_source.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ int success_pos;
%left TOKEN_DOUBLE_COLON
%left TOKEN_SEMICOLON
%right TOKEN_DOLLAR
%left TOKEN_NUMBER

%token TOKEN_INCREMENT TOKEN_DECREMENT TOKEN_PERIOD

Expand Down
1 change: 0 additions & 1 deletion code/parser/lex_source.txt
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ varname [a-zA-Z0-9_\"\$]+
"." { YYLEX( TOKEN_PERIOD ); }

"," { YYLEX( TOKEN_COMMA ); }
"#" { YYLEX( TOKEN_NUMBER ); }

"NULL" { YYLEX( TOKEN_NULL ); }
"NIL" { YYLEX( TOKEN_NIL ); }
Expand Down

0 comments on commit a08a9a4

Please sign in to comment.