aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-24 11:36:45 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-24 11:36:45 +0200
commit3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e (patch)
tree0ad7721f42d1d723571cfd5199151637412c3a39
parent9f731dbe32b66533839c7fb8e6c3518429106e5b (diff)
downloadproperties-3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e.tar.gz
properties-3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e.zip
Ignore lines with only spaces or tabs
-rw-r--r--properties.l1
1 files changed, 1 insertions, 0 deletions
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 ;
%%