summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-05-02 10:51:10 (GMT)
committerGitHub <noreply@github.com>2021-05-02 10:51:10 (GMT)
commit67e646f2dc3dbbc9872edb68d19d72c14a6581ad (patch)
treeba4907c1941eea7705f1ae59924f5db75a7c54b2
parent77c1e773565b2e464cc19d5e897ff7ba3bfb93fc (diff)
parentaa00bcb575b4bdf85a784eeec109c6782de89924 (diff)
downloadDoxygen-67e646f2dc3dbbc9872edb68d19d72c14a6581ad.zip
Doxygen-67e646f2dc3dbbc9872edb68d19d72c14a6581ad.tar.gz
Doxygen-67e646f2dc3dbbc9872edb68d19d72c14a6581ad.tar.bz2
Merge pull request #8422 from albert-github/feature/bug_preproc
Problem with non escaped double quote in preprocessor
-rw-r--r--src/pre.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pre.l b/src/pre.l
index 16d9a95..7b48ca7 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -622,6 +622,9 @@ WSopt [ \t\r]*
<CopyLine,LexCopyLine>"\\"\r?/\n { // strip line continuation characters
if (getLanguageFromFileName(yyextra->yyFileName)==SrcLangExt_Fortran) outputChar(yyscanner,*yytext);
}
+<CopyLine,LexCopyLine>\\. {
+ outputArray(yyscanner,yytext,(int)yyleng);
+ }
<CopyLine,LexCopyLine>. {
outputChar(yyscanner,*yytext);
}