AS1/2 variables hiligter fix - throw, targetPath

This commit is contained in:
Jindra Petřík
2025-05-26 23:17:18 +02:00
parent 75c8639d77
commit c8ad42cf9b
2 changed files with 2 additions and 9 deletions

View File

@@ -898,7 +898,7 @@ public class ActionScript2VariableParser {
break;
case TARGETPATH:
expectedType(SymbolType.PARENT_OPEN);
//ret = new TargetPathActionItem(null, null, (expression(inFunction, inMethod, inTellTarget, true, variables, functions, false, hasEval)));
expression(inFunction, inMethod, inTellTarget, true, variables, functions, false, hasEval);
expectedType(SymbolType.PARENT_CLOSE);
ret = true;
break;
@@ -1389,6 +1389,7 @@ public class ActionScript2VariableParser {
case THROW:
//ret = new ThrowActionItem(null, null, ;
expression(inFunction, inMethod, inTellTarget, true, variables, functions, false, hasEval);
ret = true;
break;
case SEMICOLON: //empty command
if (debugMode) {