diff options
-rw-r--r-- | src/code.l | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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) |