summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-10-12 10:40:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-10-12 10:40:35 (GMT)
commitbfb4ae4c6601fd93caa5219a7b73f3e39057cba1 (patch)
tree5569d87c1fc1ed78c81e15c96859e94125e5f16d /src/scanner.l
parent316f0d0cb6971112a1c36daef1afe260d3cad769 (diff)
downloadDoxygen-bfb4ae4c6601fd93caa5219a7b73f3e39057cba1.zip
Doxygen-bfb4ae4c6601fd93caa5219a7b73f3e39057cba1.tar.gz
Doxygen-bfb4ae4c6601fd93caa5219a7b73f3e39057cba1.tar.bz2
Bug 709921 - position of linebreak in template argument list affects inheritance relation
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 5a1f306..113ef03 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -5776,21 +5776,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
*specName += *yytext;
if (roundCount==0 && --sharpCount<=0)
{
- if (1 /*!insideCS*/)
- {
- baseName+=*specName;
- }
- else
- {
- if (current->tArgLists==0)
- {
- current->tArgLists = new QList<ArgumentList>;
- current->tArgLists->setAutoDelete(TRUE);
- }
- ArgumentList *al = new ArgumentList;
- current->tArgLists->append(al);
- stringToArgumentList(*specName,al);
- }
+ baseName+=removeRedundantWhiteSpace(*specName);
BEGIN(lastSkipSharpContext);
}
}