summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l
index f56d880..b93df38 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -3992,8 +3992,7 @@ IDLATTR ("["[^\]]*"]"){BN}*
/* ---- Single line comments ------ */
-<DocLine>[^\n]*"\n" { // whole line
- yyLineNr++;
+<DocLine>[^\n]*/"\n" { // whole line
handleCommentBlock(yytext,TRUE);
BEGIN( docBlockContext );
}