summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2013-12-02 19:10:47 (GMT)
committeralbert-github <albert.tests@gmail.com>2013-12-02 19:10:47 (GMT)
commit30535da9d0d7d5f71a2faaca30641361a888358b (patch)
treee676b89be73e4159a0671ac27e113c8fd8af475d
parent58058025a8357dcba0da4be0f6c3ddfec8c37839 (diff)
downloadDoxygen-30535da9d0d7d5f71a2faaca30641361a888358b.zip
Doxygen-30535da9d0d7d5f71a2faaca30641361a888358b.tar.gz
Doxygen-30535da9d0d7d5f71a2faaca30641361a888358b.tar.bz2
Bug 719489 - Label "abstract" instead of "pure virtual" for Java language
Proposed patch so the word abstract is recorded correctly in case of Java
-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
{