summaryrefslogtreecommitdiff
path: root/test/racc/assets/normal.y
diff options
context:
space:
mode:
Diffstat (limited to 'test/racc/assets/normal.y')
-rw-r--r--test/racc/assets/normal.y27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/racc/assets/normal.y b/test/racc/assets/normal.y
new file mode 100644
index 0000000000..96ae352c82
--- /dev/null
+++ b/test/racc/assets/normal.y
@@ -0,0 +1,27 @@
+
+class Testp
+
+ convert
+ A '2'
+ B '3'
+ end
+
+ prechigh
+ left B
+ preclow
+
+rule
+
+/* comment */
+ target: A B C nonterminal { action "string" == /regexp/o
+ 1 /= 3 }
+ ; # comment
+
+ nonterminal: A '+' B = A;
+
+/* end */
+end
+
+---- driver
+
+ # driver is old name