aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks/8 flex/lexer.l
blob: 8ea7df8ddb309368bd5add43a0140c83c0931862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%{
#include <stdlib.h>
#include "parser.tab.h"

extern int yylex(void);
extern int yyerror(); 
%}

%option noyywrap nounput noinput

%%
("true"|"false")    {return BOOLEAN;}
. { yyerror(); }