aboutsummaryrefslogtreecommitdiff
path: root/properties.l
diff options
context:
space:
mode:
Diffstat (limited to 'properties.l')
-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 */
%%