From 304bbce19fe89e89d3c83b34519aadefef5ce6c3 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 8 Jan 2019 10:13:37 +0100 Subject: issue #6748 1.8.15 regression with C# internal modifier In the fix for issue #677 / bug 743539 only the Java part, in scanner.l, should have been removed and not the other languages in respect to the word "internal", compare also code.l --- src/scanner.l | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v0.12