summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 6c832f7..92b7bdd 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -304,12 +304,13 @@ static void handleCommentBlock(const QCString &doc,bool brief)
int position = 0;
bool needsEntry;
+ int lineNr = brief ? current->briefLine : current->docLine;
while (parseCommentBlock(
g_thisParser,
(docBlockInBody && previous) ? previous : current,
doc, // text
yyFileName, // file
- brief ? current->briefLine : current->docLine, // line of block start
+ lineNr,
docBlockInBody ? FALSE : brief,
docBlockJavaStyle, // javadoc style // or FALSE,
docBlockInBody,