mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 02:30:44 +00:00
Fixed #2183 AS1/2 Direct editation - case sensitive identifiers since SWF version 7
This commit is contained in:
@@ -258,6 +258,11 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
|
||||
ident = tData.toString();
|
||||
//We need to get unescaped identifier, so we use our Lexer
|
||||
ActionScriptLexer lex = new ActionScriptLexer(new StringReader(ident));
|
||||
if (src != null) {
|
||||
if (src.getSwf().version >= ActionScriptLexer.SWF_VERSION_CASE_SENSITIVE) {
|
||||
lex.setCaseSensitiveIdentifiers(true);
|
||||
}
|
||||
}
|
||||
try {
|
||||
ParsedSymbol symb = lex.lex();
|
||||
if (symb.type == SymbolType.IDENTIFIER) {
|
||||
|
||||
Reference in New Issue
Block a user