Skip to content

Commit

Permalink
Merge pull request #523 from albert-github/feature/bug_771344
Browse files Browse the repository at this point in the history
Bug 771344 - Class name 'internal' breaks class hierarchy in C++
  • Loading branch information
Dimitri van Heesch committed Sep 19, 2016
2 parents d4beb39 + b93dbcd commit 02fb542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.l
Expand Up @@ -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); }
Expand Down

0 comments on commit 02fb542

Please sign in to comment.