summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/code.l9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/code.l b/src/code.l
index 14a53ff..e5e0361 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2596,14 +2596,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
generatePHPVariableLink(*g_code,yytext);
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;
- }
+<Body,TemplCast>{SCOPENAME}{B}*"<"[^\n\/\-\.\{\"\>\(]*">"("::"{ID})*/{B}* { // A<T> *pt;
int i=QCString(yytext).find('<');
QCString kw = QCString(yytext).left(i).stripWhiteSpace();
if (kw.right(5)=="_cast" && YY_START==Body)