summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pre.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pre.l b/src/pre.l
index 05a4bf0..81f4c4e 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -2094,7 +2094,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
<ReadString>"//"|"/*" {
g_defArgsStr+=yytext;
}
-<ReadString>\\/\n { // line continuation
+<ReadString>\\/\r?\n { // line continuation
}
<ReadString>\\. {
g_defArgsStr+=yytext;