Skip to content

Commit

Permalink
Don't return every remaining character as a token
Browse files Browse the repository at this point in the history
  • Loading branch information
TheComet committed Feb 7, 2021
1 parent 824662c commit 7922682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odb-compiler/src/parsers/db/Scanner.lex
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ SYMBOL [a-zA-Z_][a-zA-Z0-9_]+?
":" { RETURN_TOKEN(':'); }
";" { RETURN_TOKEN(';'); }
[ \t]
. { RETURN_TOKEN(yytext[0]); }
.
}
%%

0 comments on commit 7922682

Please sign in to comment.