diff --git a/CHANGELOG.md b/CHANGELOG.md index 595a3da42..fcf176c75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ All notable changes to this project will be documented in this file. - AS1/2 - nested tellTarget - AS1/2 - switch with nontrivial expressions like and/or,ternar (second pass) - AS1/2 - ifFrameLoaded with nontrivial items inside +- AS1/2 - (mb)length is expressioncommand, not a command ## [14.6.0] - 2021-11-22 ### Added diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/parser/script/ActionScript2Parser.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/parser/script/ActionScript2Parser.java index 377440362..f85df1670 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/parser/script/ActionScript2Parser.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/parser/script/ActionScript2Parser.java @@ -734,16 +734,6 @@ public class ActionScript2Parser { ret = new FSCommandActionItem(null, null, expression(inFunction, inMethod, inTellTarget, true, variables, functions, false, hasEval)); expectedType(SymbolType.PARENT_CLOSE); break; - case LENGTH: - expectedType(SymbolType.PARENT_OPEN); - ret = new StringLengthActionItem(null, null, (expression(inFunction, inMethod, inTellTarget, true, variables, functions, false, hasEval))); - expectedType(SymbolType.PARENT_CLOSE); - break; - case MBLENGTH: - expectedType(SymbolType.PARENT_OPEN); - ret = new MBStringLengthActionItem(null, null, (expression(inFunction, inMethod, inTellTarget, true, variables, functions, false, hasEval))); - expectedType(SymbolType.PARENT_CLOSE); - break; case SET: expectedType(SymbolType.PARENT_OPEN); GraphTargetItem name1 = (expression(inFunction, inMethod, inTellTarget, true, variables, functions, false, hasEval));