summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-05-12 16:58:10 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-05-12 16:58:10 (GMT)
commitec8a1a465ef6b4cbcba9b7b9b9cbdf87e39c7bba (patch)
tree4ea9c654a721fa855a39877c2b87ceef15a2b8a3 /src/code.l
parentc78c338fffbdbb9b2379b1896e647f7cc697da57 (diff)
downloadDoxygen-ec8a1a465ef6b4cbcba9b7b9b9cbdf87e39c7bba.zip
Doxygen-ec8a1a465ef6b4cbcba9b7b9b9cbdf87e39c7bba.tar.gz
Doxygen-ec8a1a465ef6b4cbcba9b7b9b9cbdf87e39c7bba.tar.bz2
Bug 727103 - Misparsed comments leading to missing call graph
Handling comment block in scanner.l and code.l in an analogous way. The problem is caused by a non terminated comment bock in a comment block. It is strongly advised not to use comment blocks inside other comment blocks and otherwise fix the message.
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/code.l b/src/code.l
index 74b360f..5c9e289 100644
--- a/src/code.l
+++ b/src/code.l
@@ -3573,6 +3573,9 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
endFontClass();
}
}
+<SkipComment>[^\*\n]+ {
+ g_code->codify(yytext);
+ }
<*>"/*" {
startFontClass("comment");
g_code->codify(yytext);