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

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

int yywrap() {
    return 1;
}