aboutsummaryrefslogtreecommitdiff
path: root/09/main.l
blob: 7e888e92210f729141cd1d09d466959f9bc5a811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%{
extern int yylval;
%}

%%
a return A;
b return B;
c return C;
. return yytext[0];
\n return 0;
%%

int yywrap() {
    return 1;
}