aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/8 flex/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/8 flex/parser.y')
-rw-r--r--meson/test cases/frameworks/8 flex/parser.y11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/8 flex/parser.y b/meson/test cases/frameworks/8 flex/parser.y
new file mode 100644
index 000000000..663f2f3cf
--- /dev/null
+++ b/meson/test cases/frameworks/8 flex/parser.y
@@ -0,0 +1,11 @@
+%{
+extern int yylex(void);
+extern int yyerror();
+%}
+
+%token BOOLEAN
+
+%%
+input:
+ BOOLEAN { $$ = $1;}
+;