From 30535da9d0d7d5f71a2faaca30641361a888358b Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 2 Dec 2013 20:10:47 +0100 Subject: Bug 719489 - Label "abstract" instead of "pure virtual" for Java language Proposed patch so the word abstract is recorded correctly in case of Java --- src/scanner.l | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 { -- cgit v0.12