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

%%

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

int yywrap() {
    return 1;
}