diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-01-19 19:25:34 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2017-01-19 19:25:34 -0600 |
commit | ea095957d446033df1f10817f5f68c2af79a8729 (patch) | |
tree | 3bda6ea18f5466b0474bb8c0ba3e088df7edcfa1 /lexer.l | |
parent | b7020532fa35f032f7c36d81b219bcb7516535c1 (diff) |
nqasm: don't echo unknown tokens
Diffstat (limited to 'lexer.l')
-rw-r--r-- | lexer.l | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -95,4 +95,6 @@ HEX [0-9a-f] <INITIAL><<EOF>> { return 0; } <<EOF>> { BEGIN(INITIAL); return T_EOL; } +. { return T_UNKNOWN; } + %% |