diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-10 20:20:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-10 20:20:54 (GMT) |
commit | 994b081aac309954a7984929329fbcd5c5cf8883 (patch) | |
tree | fe12b6a8b2e721b46ef87c99f7862af9501710db /src/scanner.l | |
parent | a0c75e4c7a7aef5a1e8cec56a1f909eac44af3e9 (diff) | |
download | Doxygen-994b081aac309954a7984929329fbcd5c5cf8883.zip Doxygen-994b081aac309954a7984929329fbcd5c5cf8883.tar.gz Doxygen-994b081aac309954a7984929329fbcd5c5cf8883.tar.bz2 |
issue #7412: HTML: Opening a reference link in a new tab does not scroll to the content
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l index 0e3aeb0..7115129 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1941,6 +1941,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) } } <CopyHereDocEnd>\n { + lineCount(yyscanner); *yyextra->pCopyHereDocGString += yytext; } <CopyHereDocEnd>{ID} { @@ -7186,10 +7187,12 @@ static void parseMain(yyscan_t yyscanner, //depthIf = 0; yyextra->protection = Public; yyextra->mtype = Method; - yyextra->stat = FALSE; + yyextra->stat = FALSE; yyextra->virt = Normal; yyextra->current_root = rt; - yyextra->yyLineNr= 1 ; + yyextra->yyLineNr = 1 ; + yyextra->yyBegLineNr = 1; + yyextra->yyBegColNr = 0; yyextra->yyFileName = fileName; setContext(yyscanner); bool processWithClang = yyextra->insideCpp || yyextra->insideObjC; |