summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-04-22 09:14:47 (GMT)
committerGitHub <noreply@github.com>2018-04-22 09:14:47 (GMT)
commit5bdb738052d41c9fb709df917e494625e9a18246 (patch)
tree53e4c53a877aa1b9e4b832d1342fd221a792e06f /src
parentbb221aebc3ddc8904757db7e3959aa53601e5efd (diff)
parente2b0f27d6fca5dacfedc79a1a4eff32d5e9254e9 (diff)
downloadDoxygen-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
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;