From 4e5fcd691545ea51d17a2aa8accfc89d303c3d9f Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Tue, 13 Aug 2024 11:08:56 +0200 Subject: Add possibility of using ':' and '=' as values --- properties.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'properties.l') diff --git a/properties.l b/properties.l index 50acbd7..b1b8617 100644 --- a/properties.l +++ b/properties.l @@ -5,7 +5,7 @@ %% -=|: return DIV; +=|: yylval.value = strdup(yytext); return DIV; ^[ \t]*[a-zA-Z0-9\.]*[ \t]* yylval.value = strdup(trim(yytext)); return KEY; \n ; /* Ignores empty lines with a single newline */ ^[ \t]*#.* ; /* Ignores comments */ -- cgit v1.2.3