Skip to content

Commit

Permalink
Allow \r\n as line continuation as well
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Aug 4, 2019
1 parent 952dbe9 commit 05e704c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pre.l
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 05e704c

Please sign in to comment.