summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 86a83cb..ee04dd9 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -2438,6 +2438,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
{
current->protection = Protected;
}
+ else if ((insideCS || insideD || insidePHP || insideJS) && qstrcmp(yytext,"internal")==0)
+ {
+ current->protection = Package;
+ }
else if (javaLike && qstrcmp(yytext,"private")==0)
{
current->protection = Private;