mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-10 05:55:40 +00:00
Fixed AS1/2 - delete on nonmember
This commit is contained in:
@@ -1872,7 +1872,10 @@ public class ActionScript2Parser {
|
||||
GetMemberActionItem gm = (GetMemberActionItem) varDel;
|
||||
ret = new DeleteActionItem(null, null, gm.object, gm.memberName);
|
||||
} else {
|
||||
throw new ActionParseException("Not a property", lexer.yyline());
|
||||
if (varDel instanceof VariableActionItem) {
|
||||
varDel = pushConst(((VariableActionItem) varDel).getVariableName());
|
||||
}
|
||||
ret = new DeleteActionItem(null, null, null, varDel);
|
||||
}
|
||||
break;
|
||||
case INCREMENT:
|
||||
|
||||
Reference in New Issue
Block a user