summaryrefslogtreecommitdiffstats
path: root/contrib/byacc/test/code_error.output
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/byacc/test/code_error.output')
-rw-r--r--contrib/byacc/test/code_error.output27
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/byacc/test/code_error.output b/contrib/byacc/test/code_error.output
new file mode 100644
index 0000000..0c4db62
--- /dev/null
+++ b/contrib/byacc/test/code_error.output
@@ -0,0 +1,27 @@
+ 0 $accept : S $end
+
+ 1 S : error
+
+state 0
+ $accept : . S $end (0)
+
+ error shift 1
+ . error
+
+ S goto 2
+
+
+state 1
+ S : error . (1)
+
+ . reduce 1
+
+
+state 2
+ $accept : S . $end (0)
+
+ $end accept
+
+
+2 terminals, 2 nonterminals
+2 grammar rules, 3 states
OpenPOWER on IntegriCloud