aboutsummaryrefslogtreecommitdiff
path: root/9/main.l
blob: 04c6bf0fa538cf1c683b7b41ec767e7f635f6013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%{
#include "y.tab.h"
extern int yylval;
%}

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

int yywrap() {
    return 1;
}