From 3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 24 Jul 2024 11:36:45 +0200 Subject: Ignore lines with only spaces or tabs --- properties.l | 1 + 1 file changed, 1 insertion(+) diff --git a/properties.l b/properties.l index 4103d16..7728a91 100644 --- a/properties.l +++ b/properties.l @@ -8,5 +8,6 @@ ^[ \t]*[a-zA-Z0-9\.]* yylval.value = strdup(yytext); return KEY; . yylval.value = strdup(yytext); return VALUE; \n* ; +^[ \t]*/\r?\n ; %% -- cgit v1.2.3