aboutsummaryrefslogtreecommitdiff
path: root/properties.l
blob: eb6ff81571d68a6cbb6069a5fe86039742cf3381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%{
#include "properties-parser.h"
%}

%%

=|:                    return DIV;
^[ \t]*[a-zA-Z0-9\.]*  yylval.value = strdup(yytext); return KEY;
[ \t]*                 ;
.                      yylval.value = strdup(yytext); return VALUE;

%%