mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-13 05:15:33 +00:00
AS3 direct edit - empty parenthesis disallowed
This commit is contained in:
@@ -2218,6 +2218,9 @@ public class ActionScript3Parser {
|
||||
case PARENT_OPEN:
|
||||
ret = new ParenthesisItem(null, expression(thisType, pkg, needsActivation, importedClasses, openedNamespaces, registerVars, inFunction, inMethod, true, variables));
|
||||
expectedType(SymbolType.PARENT_CLOSE);
|
||||
if (ret.value == null) {
|
||||
throw new AVM2ParseException("Expression in parenthesis expected", lexer.yyline());
|
||||
}
|
||||
allowMemberOrCall = true;
|
||||
break;
|
||||
case NEW:
|
||||
|
||||
Reference in New Issue
Block a user