summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-09-19 18:43:58 (GMT)
committerGitHub <noreply@github.com>2016-09-19 18:43:58 (GMT)
commit02fb54256d57467edb11003872dc0b0a174bd5f8 (patch)
treeb096650255e2cc2aad56b4ff5e980f93e001d085 /src
parentd4beb392b452d14d375e1406ec4fb0f6436081ee (diff)
parentb93dbcdab6dfc5681ec49f1d567698b7c4dc6846 (diff)
downloadDoxygen-02fb54256d57467edb11003872dc0b0a174bd5f8.zip
Doxygen-02fb54256d57467edb11003872dc0b0a174bd5f8.tar.gz
Doxygen-02fb54256d57467edb11003872dc0b0a174bd5f8.tar.bz2
Merge pull request #523 from albert-github/feature/bug_771344
Bug 771344 - Class name 'internal' breaks class hierarchy in C++
Diffstat (limited to 'src')
-rw-r--r--src/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 6c69224..68eb8fc 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -5771,7 +5771,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
<BasesProt>"virtual"{BN}+ { lineCount(); baseVirt = Virtual; }
<BasesProt>"public"{BN}+ { lineCount(); baseProt = Public; }
<BasesProt>"protected"{BN}+ { lineCount(); baseProt = Protected; }
-<BasesProt>"internal"{BN}+ { lineCount(); baseProt = Package; }
+<BasesProt>"internal"{BN}+ { if (!insideCli) REJECT ; lineCount(); baseProt = Package; }
<BasesProt>"private"{BN}+ { lineCount(); baseProt = Private; }
<BasesProt>{BN} { lineCount(); }
<BasesProt>. { unput(*yytext); BEGIN(Bases); }