aboutsummaryrefslogtreecommitdiff
path: root/properties.l
diff options
context:
space:
mode:
Diffstat (limited to 'properties.l')
-rw-r--r--properties.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/properties.l b/properties.l
index 67a5c2a..eb6ff81 100644
--- a/properties.l
+++ b/properties.l
@@ -5,8 +5,8 @@
%%
=|: return DIV;
-^[ \t]*[a-zA-Z0-9\.]* return KEY;
+^[ \t]*[a-zA-Z0-9\.]* yylval.value = strdup(yytext); return KEY;
[ \t]* ;
-. return VALUE;
+. yylval.value = strdup(yytext); return VALUE;
%%