summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scanner.l9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 6160158..0807aaa 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -1355,7 +1355,14 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
if (!insidePHP)
{
current->type += " abstract ";
- current->virt = Pure;
+ if (!insideJava)
+ {
+ current->virt = Pure;
+ }
+ else
+ {
+ current->spec|=Entry::Abstract;
+ }
}
else
{