mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 23:27:27 +00:00
Issue #945 AS1/2 directeditation fix - member named as global function
This commit is contained in:
@@ -197,7 +197,7 @@ public class ActionScript2Parser {
|
||||
s = lex();
|
||||
while (s.type == SymbolType.DOT) {
|
||||
s = lex();
|
||||
expected(s, lexer.yyline(), SymbolType.IDENTIFIER, SymbolType.STRING_OP);
|
||||
expected(s, lexer.yyline(), SymbolType.IDENTIFIER, SymbolType.STRING_OP, SymbolGroup.GLOBALFUNC);
|
||||
ret = new GetMemberActionItem(null, ret, pushConst(s.value.toString()));
|
||||
s = lex();
|
||||
}
|
||||
@@ -1797,7 +1797,7 @@ public class ActionScript2Parser {
|
||||
}
|
||||
if (op.type == SymbolType.DOT) {
|
||||
ParsedSymbol s = lex();
|
||||
expected(s, lexer.yyline(), SymbolType.IDENTIFIER, SymbolType.THIS, SymbolType.SUPER, SymbolType.STRING_OP);
|
||||
expected(s, lexer.yyline(), SymbolType.IDENTIFIER, SymbolType.THIS, SymbolType.SUPER, SymbolType.STRING_OP, SymbolGroup.GLOBALFUNC);
|
||||
|
||||
ret = new GetMemberActionItem(null, ret, pushConst(s.value.toString()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user