summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-02-14 18:10:03 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-02-14 18:10:03 (GMT)
commite2b0f27d6fca5dacfedc79a1a4eff32d5e9254e9 (patch)
treeb502d0dc0b67012d67617e4f9a4b2485f6ed0e46 /src
parentb6f01ff09b17e5c2288f2418ef0a8f074456c357 (diff)
downloadDoxygen-e2b0f27d6fca5dacfedc79a1a4eff32d5e9254e9.zip
Doxygen-e2b0f27d6fca5dacfedc79a1a4eff32d5e9254e9.tar.gz
Doxygen-e2b0f27d6fca5dacfedc79a1a4eff32d5e9254e9.tar.bz2
Bug 683564 - Value from enumeration followed with semicolon is not present in java docs
For java the type should not be reset to "@", see also rule <FindFields>","
Diffstat (limited to 'src')
-rw-r--r--src/scanner.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 08a5e52..619eb5d 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -3639,7 +3639,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
current->fileName = yyFileName;
current->startLine = yyLineNr;
current->startColumn = yyColNr;
- current->type = "@"; // enum marker
+ if (!(current_root->spec&Entry::Enum))
+ {
+ current->type = "@"; // enum marker
+ }
current->args = current->args.simplifyWhiteSpace();
current->name = current->name.stripWhiteSpace();
current->section = Entry::VARIABLE_SEC;