diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-09-20 18:19:55 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-09-20 18:19:55 (GMT) |
commit | a80f9320bf9fdd879869cee2cea1ec3f9af822f8 (patch) | |
tree | c3964e8a42bc4dfecf5a99d6de94650878e67a0f /src/doctokenizer.l | |
parent | ce8facca2c23f4656747ad3a5b4a8db475855e27 (diff) | |
download | Doxygen-a80f9320bf9fdd879869cee2cea1ec3f9af822f8.zip Doxygen-a80f9320bf9fdd879869cee2cea1ec3f9af822f8.tar.gz Doxygen-a80f9320bf9fdd879869cee2cea1ec3f9af822f8.tar.bz2 |
Release-1.7.1-20100920
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index fa4f28a..0f7dcc1 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -789,6 +789,15 @@ REFWORD {LABELID}|{REFWORD2} g_token->name = g_token->name.left(yyleng-2); return TK_WORD; } +<St_Param>({LABELID}"|")*{LABELID}{WS}+("&")?"$"{LABELID} { + QCString params = yytext; + int j = params.find('&'); + int i = params.find('$'); + if (j<i && j!=-1) i=j; + QCString types = params.left(i).stripWhiteSpace(); + g_token->name = types+"#"+params.mid(i); + return TK_WORD; + } <St_Param>[^ \t\n,]+ { g_token->name = yytext; return TK_WORD; |