mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-27 01:45:36 +00:00
Fixed: AS direct editation/highlighter §§dup can have getmember or call
This commit is contained in:
@@ -2443,6 +2443,7 @@ public class ActionScript3Parser {
|
||||
//Both ASs
|
||||
case "dup":
|
||||
ret = new DuplicateItem(DIALECT, null, null, expression(allOpenedNamespaces, thisType, pkg, needsActivation, importedClasses, openedNamespaces, registerVars, inFunction, inMethod, true, variables, false, abc));
|
||||
allowMemberOrCall = true;
|
||||
break;
|
||||
case "push":
|
||||
ret = new PushItem(expression(allOpenedNamespaces, thisType, pkg, needsActivation, importedClasses, openedNamespaces, registerVars, inFunction, inMethod, true, variables, false, abc));
|
||||
|
||||
@@ -1876,6 +1876,7 @@ public class ActionScript3SimpleParser implements SimpleParser {
|
||||
case "dup":
|
||||
expression(errors, thisType, needsActivation, importedClasses, openedNamespaces, registerVars, inFunction, inMethod, isStatic, true, variables, false, abc);
|
||||
ret = true;
|
||||
allowMemberOrCall = true;
|
||||
break;
|
||||
case "push":
|
||||
expression(errors, thisType, needsActivation, importedClasses, openedNamespaces, registerVars, inFunction, inMethod, isStatic, true, variables, false, abc);
|
||||
|
||||
@@ -1803,6 +1803,7 @@ public class ActionScript2Parser {
|
||||
//Both ASs
|
||||
case "dup":
|
||||
ret = new DuplicateItem(DIALECT, null, null, expression(inFunction, inMethod, inTellTarget, allowRemainder, variables, functions, false, hasEval));
|
||||
allowMemberOrCall = true;
|
||||
break;
|
||||
case "push":
|
||||
ret = new PushItem(expression(inFunction, inMethod, inTellTarget, allowRemainder, variables, functions, false, hasEval));
|
||||
|
||||
@@ -1333,6 +1333,7 @@ public class ActionScript2SimpleParser implements SimpleParser {
|
||||
case "dup":
|
||||
expression(errors, inFunction, inMethod, inTellTarget, allowRemainder, variables, false, hasEval);
|
||||
ret = true;
|
||||
allowMemberOrCall = true;
|
||||
break;
|
||||
case "push":
|
||||
expression(errors, inFunction, inMethod, inTellTarget, allowRemainder, variables, false, hasEval);
|
||||
|
||||
Reference in New Issue
Block a user