aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/8 flex/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/8 flex/lexer.l')
-rw-r--r--meson/test cases/frameworks/8 flex/lexer.l11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/8 flex/lexer.l b/meson/test cases/frameworks/8 flex/lexer.l
new file mode 100644
index 000000000..952eeea12
--- /dev/null
+++ b/meson/test cases/frameworks/8 flex/lexer.l
@@ -0,0 +1,11 @@
+%{
+#include <stdlib.h>
+#include "parser.tab.h"
+
+extern int yylex(void);
+extern int yyerror();
+%}
+
+%%
+("true"|"false") {return BOOLEAN;}
+. { yyerror(); }