aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-24 11:42:30 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-24 11:42:30 +0200
commit308dfa1918472ef86fb844d62e2ddc2d4ef0687e (patch)
treee2baa4edcf60bdfd146664f575ace10a760ae55a
parent3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e (diff)
downloadproperties-308dfa1918472ef86fb844d62e2ddc2d4ef0687e.tar.gz
properties-308dfa1918472ef86fb844d62e2ddc2d4ef0687e.zip
Add a reference
-rw-r--r--properties.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/properties.l b/properties.l
index 7728a91..ce4ffb8 100644
--- a/properties.l
+++ b/properties.l
@@ -8,6 +8,6 @@
^[ \t]*[a-zA-Z0-9\.]* yylval.value = strdup(yytext); return KEY;
. yylval.value = strdup(yytext); return VALUE;
\n* ;
-^[ \t]*/\r?\n ;
+^[ \t]*/\r?\n ; /* /\r?\n get the end of line, ref: https://stackoverflow.com/a/56104754 */
%%