summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-10-13 09:38:04 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-10-13 10:17:01 (GMT)
commitc123ae9fe74b9bd786800d590074b4010b25f01a (patch)
tree90cebde8d36f3622abfda862a974082486aeb431 /src
parent231c4e93a8e72e458b90279eb8cf0404f91c5899 (diff)
downloadDoxygen-c123ae9fe74b9bd786800d590074b4010b25f01a.zip
Doxygen-c123ae9fe74b9bd786800d590074b4010b25f01a.tar.gz
Doxygen-c123ae9fe74b9bd786800d590074b4010b25f01a.tar.bz2
Bug 707985 - Strange output when : appended to an parameter description
Diffstat (limited to 'src')
-rw-r--r--src/doctokenizer.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index a33985b..5cedff3 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -1023,6 +1023,10 @@ REFWORD {LABELID}|{REFWORD2}|{REFWORD3}|{LNKWORD2}
}
<St_Param>[^ \t\n,]+ {
g_token->name = yytext;
+ if (g_token->name.at(yyleng-1)==':')
+ {
+ g_token->name=g_token->name.left(yyleng-1);
+ }
return TK_WORD;
}
<St_Param>{WS}*","{WS}* /* param separator */