diff options
author | 2024-08-13 11:08:56 +0200 | |
---|---|---|
committer | 2024-08-13 11:08:56 +0200 | |
commit | 4e5fcd691545ea51d17a2aa8accfc89d303c3d9f (patch) | |
tree | b012c9feeaf244bc300c6555559dde8873780e82 /properties.l | |
parent | 1cf817eba1ab8c2ee46a73c6bea9b7e70e418cdd (diff) | |
download | properties-4e5fcd691545ea51d17a2aa8accfc89d303c3d9f.tar.gz properties-4e5fcd691545ea51d17a2aa8accfc89d303c3d9f.zip |
Add possibility of using ':' and '=' as values
Diffstat (limited to 'properties.l')
-rw-r--r-- | properties.l | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |