Debian Codegraph @

test cases/frameworks/8 flex/lexer.l

raw
1 %{
2 #include <stdlib.h>
3 #include "parser.tab.h"
4
5 extern int yylex(void);
6 extern int yyerror(char *s);
7 %}
8
9 %option noyywrap nounput noinput
10
11 %%
12 ("true"|"false") {return BOOLEAN;}
13 . { yyerror("Invalid value"); }