summaryrefslogtreecommitdiff
path: root/parser.y
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-19 19:25:34 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-19 19:25:34 -0600
commitea095957d446033df1f10817f5f68c2af79a8729 (patch)
tree3bda6ea18f5466b0474bb8c0ba3e088df7edcfa1 /parser.y
parentb7020532fa35f032f7c36d81b219bcb7516535c1 (diff)
nqasm: don't echo unknown tokens
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.y b/parser.y
index ed33aa4..8998c37 100644
--- a/parser.y
+++ b/parser.y
@@ -37,6 +37,7 @@ void yyerror(const char *msg)
%token END 0 "end of file"
+%token T_UNKNOWN
%token T_SPACE
%token T_EOL