summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-12-25 13:26:12 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-12-25 13:26:12 (GMT)
commit89a35e4c65f3089f47e65b7c399c1ac53ba9015c (patch)
treea2b232c0b1fb6db3863d8d6ca14aaaec4fa77eca
parent8f0b7ebff445ff1fa42adbfbb1a90dce4ec777d9 (diff)
downloadDoxygen-89a35e4c65f3089f47e65b7c399c1ac53ba9015c.zip
Doxygen-89a35e4c65f3089f47e65b7c399c1ac53ba9015c.tar.gz
Doxygen-89a35e4c65f3089f47e65b7c399c1ac53ba9015c.tar.bz2
Wrong reference to code line
The newline was handled twice and thus the prprocessor giving out too many lines, resulting in a shift in line numbers
-rw-r--r--src/pre.l2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index 3a627b5..7685853 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1420,7 +1420,6 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
<CopyCComment>\\[\r]?\n {
yyextra->defLitText+=yytext;
- outputChar(yyscanner,'\n');
yyextra->defText+=" ";
yyextra->yyLineNr++;
yyextra->yyMLines++;
@@ -1432,7 +1431,6 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
<CopyCComment>\n {
yyextra->yyLineNr++;
- outputChar(yyscanner,'\n');
yyextra->defLitText+=yytext;
yyextra->defText+=' ';
}