summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index 249e180..cdcd53a 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2395,7 +2395,14 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
g_code->codify(yytext);
if (--g_bracketCount<=0)
{
- BEGIN( CallEnd );
+ if (g_name.isEmpty())
+ {
+ BEGIN( Body );
+ }
+ else
+ {
+ BEGIN( CallEnd );
+ }
}
}
<CallEnd>[ \t\n]* { codifyLines(yytext); }