summaryrefslogtreecommitdiff
path: root/ext/ply/test/yacc_unused.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ply/test/yacc_unused.exp')
-rw-r--r--ext/ply/test/yacc_unused.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/ply/test/yacc_unused.exp b/ext/ply/test/yacc_unused.exp
new file mode 100644
index 000000000..390754de3
--- /dev/null
+++ b/ext/ply/test/yacc_unused.exp
@@ -0,0 +1,4 @@
+./yacc_unused.py:60: Symbol 'COMMA' used, but not defined as a token or a rule.
+yacc: Symbol 'COMMA' is unreachable.
+yacc: Symbol 'exprlist' is unreachable.
+yacc.YaccError: Unable to construct parser.