aboutsummaryrefslogtreecommitdiff
path: root/test/btyacc/err_syntax10.output
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2024-06-20 11:48:44 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2024-06-20 11:48:44 +0000
commit85a764b2c52b853993b20c6291983a1aac223f47 (patch)
tree1bdadbfcfab1670a3e7f0d95591305d721d0480c /test/btyacc/err_syntax10.output
parent0b234d7a89df4780e9d2ea9817afd5d3dfaf4d27 (diff)
byacc: readd tests in the importvendor/byacc
Diffstat (limited to 'test/btyacc/err_syntax10.output')
-rw-r--r--test/btyacc/err_syntax10.output37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/btyacc/err_syntax10.output b/test/btyacc/err_syntax10.output
new file mode 100644
index 000000000000..3d9210a70ed3
--- /dev/null
+++ b/test/btyacc/err_syntax10.output
@@ -0,0 +1,37 @@
+ 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
+
+
+5 terminals, 2 nonterminals
+2 grammar rules, 3 states
+
+grammar parser grammar
+symbol# value# symbol
+ 0 0 $end
+ 1 256 error
+ 2 40 '('
+ 3 42 '*'
+ 4 38 '&'
+ 5 257 $accept
+ 6 258 S