aboutsummaryrefslogtreecommitdiff
path: root/6/main.l
blob: 55dac309d399c4acd1cf0f8f2c4e1bcb9688268d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%{
#include "y.tab.h"
#include <stdlib.h>
%}

%%

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

int yywrap() {
    return 1;
}