diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-02-03 19:06:44 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-02-03 19:06:44 (GMT) |
commit | 0eaf1cd5d2eac57666b5ffea9e0f948b7a3e6b3a (patch) | |
tree | ed05dd924500094da010cc00e8e764828a0def8a /src/scanner.l | |
parent | 8309fbd9e639eaf9e763e83ca7a228c659450a57 (diff) | |
download | Doxygen-0eaf1cd5d2eac57666b5ffea9e0f948b7a3e6b3a.zip Doxygen-0eaf1cd5d2eac57666b5ffea9e0f948b7a3e6b3a.tar.gz Doxygen-0eaf1cd5d2eac57666b5ffea9e0f948b7a3e6b3a.tar.bz2 |
Bug 723516 - star is not printed in \code environment
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index 89ebb43..c854d60 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6299,6 +6299,18 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) REJECT; } } +<DocCopyBlock>^{B}*"*"+/({ID}|"(") { // Assume *var or *(... is part of source code (see bug723516) + if (docBlockName=="code") + { + QCString indent; + indent.fill(' ',computeIndent(yytext,-1)); + docBlock+=indent+"*"; + } + else + { + REJECT; + } + } <DocCopyBlock>^{B}*"*"+/{BN}* { // start of a comment line with one * if (docBlockName=="code") { |