summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-08-23 13:36:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-08-23 13:38:23 (GMT)
commit0da5528f759d645cf0ee180ffb1223fa35685c47 (patch)
treee76ca37073284d830962eb583f3d958f40db55ce /src/commentscan.l
parenta1df9c36d95586ce3a0dc58695ff938768d02c5c (diff)
downloadDoxygen-0da5528f759d645cf0ee180ffb1223fa35685c47.zip
Doxygen-0da5528f759d645cf0ee180ffb1223fa35685c47.tar.gz
Doxygen-0da5528f759d645cf0ee180ffb1223fa35685c47.tar.bz2
Bug 703791 - [PATCH] Out-of-line docs for class template specialisations failing
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index ff766f1..886c2dd 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -880,6 +880,7 @@ LABELID [a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF\-]*
CITEID [a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF\-:/]*
SCOPEID {ID}({ID}*{BN}*"::"{BN}*)*({ID}?)
SCOPENAME "$"?(({ID}?{BN}*("::"|"."){BN}*)*)((~{BN}*)?{ID})
+TMPLSPEC "<"{BN}*[^>]+{BN}*">"
MAILADDR [a-z_A-Z0-9.+\-]+"@"[a-z_A-Z0-9\-]+("."[a-z_A-Z0-9\-]+)+[a-z_A-Z0-9\-]+
RCSTAG "$"{ID}":"[^\n$]+"$"
@@ -1343,6 +1344,10 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
/* ------ handle argument of class/struct/union command --------------- */
+<ClassDocArg1>{SCOPENAME}{TMPLSPEC} {
+ current->name = substitute(removeRedundantWhiteSpace(yytext),".","::");
+ BEGIN( ClassDocArg2 );
+ }
<ClassDocArg1>{SCOPENAME} { // first argument
current->name = substitute(yytext,".","::");
if (current->section==Entry::PROTOCOLDOC_SEC)