diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-09-10 17:03:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2018-09-10 17:03:23 (GMT) |
commit | 4a2c647d3baa599772f9f7008174d99a80cea876 (patch) | |
tree | f148cc31853c06ffb6daabea43b70a50aa9f7c72 /src/code.l | |
parent | c8092844b06414629b91a5c2d66c56ce06fd7a2e (diff) | |
parent | 7508151230301113cf6531bfe631472fa4513d19 (diff) | |
download | Doxygen-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/code.l')
-rw-r--r-- | src/code.l | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |