summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-03-17 20:32:54 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-03-17 20:32:54 (GMT)
commit6cbcbc787daeae62ce59c04bbc35597986bcca7d (patch)
tree5c9d2280ca0cb07840bfa26ca4dbed5b3225d21f /src/code.l
parentc3a03d5cb1f856d2b3a7bff8ddf74416a1281f66 (diff)
downloadDoxygen-6cbcbc787daeae62ce59c04bbc35597986bcca7d.zip
Doxygen-6cbcbc787daeae62ce59c04bbc35597986bcca7d.tar.gz
Doxygen-6cbcbc787daeae62ce59c04bbc35597986bcca7d.tar.bz2
Release-1.8.0
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index 46e881b..ae091de 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2284,7 +2284,15 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
g_name+=yytext;
BEGIN( FuncCall );
}
-<Body>{SCOPEPREFIX}?"operator"{B}*[^\(\n]+/"(" {
+<Body>{SCOPEPREFIX}?"operator"/"(" {
+ addType();
+ generateFunctionLink(*g_code,yytext);
+ g_bracketCount=0;
+ g_args.resize(0);
+ g_name+=yytext;
+ BEGIN( FuncCall );
+ }
+<Body>{SCOPEPREFIX}?"operator"[^a-z_A-Z0-9\(\n]+/"(" {
addType();
generateFunctionLink(*g_code,yytext);
g_bracketCount=0;