mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-18 02:21:58 +00:00
Fixed: #2311 AS1/2 p-code freezing on highlighting ConstantPool
This commit is contained in:
@@ -147,6 +147,14 @@ public class AbstractDocs {
|
||||
while (true) {
|
||||
startPos = lexer.yychar();
|
||||
symb = lexer.lex();
|
||||
if (symb.type == ParsedSymbol.TYPE_DOTS) {
|
||||
endPos = lexer.yychar() + 3;
|
||||
break;
|
||||
}
|
||||
if (symb.type == ParsedSymbol.TYPE_EOF) {
|
||||
endPos = lexer.yychar();
|
||||
break;
|
||||
}
|
||||
if (symb.type == ParsedSymbol.TYPE_BRACKET_OPEN) {
|
||||
while (symb.type != ParsedSymbol.TYPE_BRACKET_CLOSE && symb.type != ParsedSymbol.TYPE_EOF) {
|
||||
symb = lexer.lex();
|
||||
|
||||
@@ -458,7 +458,7 @@ action.constantpool.shortDescription=Create a new constant pool
|
||||
action.constantpool.description=
|
||||
action.constantpool.stackBefore=
|
||||
action.constantpool.stackAfter=
|
||||
action.constantpool.operands=constant1:STRING, constant2:STRING, ...
|
||||
action.constantpool.operands=constant1:STRING, [constant2:STRING, ...]
|
||||
action.definefunction.name=DefineFunction
|
||||
action.definefunction.code=0x9B
|
||||
action.definefunction.swfVersion=5
|
||||
|
||||
Reference in New Issue
Block a user