summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-09-10 17:03:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-09-10 17:03:23 (GMT)
commit4a2c647d3baa599772f9f7008174d99a80cea876 (patch)
treef148cc31853c06ffb6daabea43b70a50aa9f7c72 /src
parentc8092844b06414629b91a5c2d66c56ce06fd7a2e (diff)
parent7508151230301113cf6531bfe631472fa4513d19 (diff)
downloadDoxygen-4a2c647d3baa599772f9f7008174d99a80cea876.zip
Doxygen-4a2c647d3baa599772f9f7008174d99a80cea876.tar.gz
Doxygen-4a2c647d3baa599772f9f7008174d99a80cea876.tar.bz2
Merge branch 'feature/bug_634830' of https://github.com/albert-github/doxygen into albert-github-feature/bug_634830
Diffstat (limited to 'src')
-rw-r--r--src/code.l7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/code.l b/src/code.l
index 2c9b0ae..14a53ff 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2597,6 +2597,13 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
g_name+=yytext+7;
}
<Body,TemplCast>{SCOPENAME}{B}*"<"[^\n\/\-\.\{\"\>]*">"("::"{ID})*/{B}* { // A<T> *pt;
+ if (YY_START==Body)
+ {
+ // check for special case that starts with: operator{B}*<[=]?{B}*(
+ static QRegExp re("operator[ \t]*<[=]?[ \t]*(");
+ QString qq = yytext;
+ if (qq.find(re) == 0) REJECT;
+ }
int i=QCString(yytext).find('<');
QCString kw = QCString(yytext).left(i).stripWhiteSpace();
if (kw.right(5)=="_cast" && YY_START==Body)