AS3 highlighter - do not mark goto as error

This commit is contained in:
Jindra Petřík
2025-06-24 21:13:39 +02:00
parent 5f07ec3662
commit 53037b40f4

View File

@@ -1886,7 +1886,8 @@ public class ActionScript3SimpleParser implements SimpleParser {
break;
case "goto":
expectedType(errors, SymbolGroup.IDENTIFIER);
errors.add(new SimpleParseException("Compiling §§" + s.value + " is not available, sorry", lexer.yyline(), s.position));
//errors.add(new SimpleParseException("Compiling §§" + s.value + " is not available, sorry", lexer.yyline(), s.position));
ret = true;
break;
case "multiname":
errors.add(new SimpleParseException("Compiling §§" + s.value + " is not available, sorry", lexer.yyline(), s.position));