summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-04-22 10:08:32 (GMT)
committerGitHub <noreply@github.com>2018-04-22 10:08:32 (GMT)
commit3eac2b8724a98a6216ace89e4a1b0d14e9ca1fd7 (patch)
tree9a3efa245c3eabd1e8eace6dba4d5f18b4b29a37
parent9bc3ecc7253d897598aae64d6cf7eab5b4f1b494 (diff)
parentb0b67978e4f099bb999fc5f099259e229b9ce5ad (diff)
downloadDoxygen-3eac2b8724a98a6216ace89e4a1b0d14e9ca1fd7.zip
Doxygen-3eac2b8724a98a6216ace89e4a1b0d14e9ca1fd7.tar.gz
Doxygen-3eac2b8724a98a6216ace89e4a1b0d14e9ca1fd7.tar.bz2
Merge pull request #677 from albert-github/feature/bug_743539
Bug 743539 - Field with name "internal" confuses documentation builder.
-rw-r--r--src/code.l1
-rw-r--r--src/scanner.l4
2 files changed, 1 insertions, 4 deletions
diff --git a/src/code.l b/src/code.l
index d34412b..74b360f 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2416,6 +2416,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
g_prefixed_with_this_keyword = TRUE;
}
<Body>{KEYWORD}/([^a-z_A-Z0-9]) {
+ if (g_insideJava && qstrcmp("internal",yytext) ==0) REJECT;
if (g_insideCpp && (QCString(yytext) =="set" ||QCString(yytext) =="get")) REJECT;
startFontClass("keyword");
codifyLines(yytext);
diff --git a/src/scanner.l b/src/scanner.l
index 619eb5d..381ad6b 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -2382,10 +2382,6 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
{
current->protection = Protected;
}
- else if (javaLike && qstrcmp(yytext,"internal")==0)
- {
- current->protection = Package;
- }
else if (javaLike && qstrcmp(yytext,"private")==0)
{
current->protection = Private;