handle anonymous class

This commit is contained in:
Rick Giles 2002-11-05 00:37:59 +00:00
parent dbf2a5cb49
commit f42953e35b
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ public class ScopeUtils
retVal = modScope;
}
}
else if (type == TokenTypes.LITERAL_NEW) {
retVal = Scope.ANONINNER;
break; //because Scope.ANONINNER is not in any other Scope
}
}
return retVal;