diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-04-22 09:14:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-22 09:14:47 (GMT) |
commit | 5bdb738052d41c9fb709df917e494625e9a18246 (patch) | |
tree | 53e4c53a877aa1b9e4b832d1342fd221a792e06f | |
parent | bb221aebc3ddc8904757db7e3959aa53601e5efd (diff) | |
parent | e2b0f27d6fca5dacfedc79a1a4eff32d5e9254e9 (diff) | |
download | Doxygen-5bdb738052d41c9fb709df917e494625e9a18246.zip Doxygen-5bdb738052d41c9fb709df917e494625e9a18246.tar.gz Doxygen-5bdb738052d41c9fb709df917e494625e9a18246.tar.bz2 |
Merge pull request #656 from albert-github/feature/bug_683564
Bug 683564 - Value from enumeration followed with semicolon is not present in java docs
-rw-r--r-- | src/scanner.l | 5 |
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; |