mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-24 15:05:33 +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();
|
||||
|
||||
Reference in New Issue
Block a user