mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 14:02:06 +00:00
Fixed AS3 Metadata in P-code formatting
This commit is contained in:
@@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
|
||||
- AS3 direct editation - Allow comma operator in switch expressions
|
||||
- AS3 XML embedded variables display and direct edit
|
||||
- AS3 Metadata values order
|
||||
- AS3 Metadata in P-code formatting
|
||||
|
||||
## [18.3.6] - 2023-02-25
|
||||
### Fixed
|
||||
|
||||
@@ -417,9 +417,9 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
writer.hilightSpecial("0x8", HighlightSpecialType.ATTR_0x8);
|
||||
}
|
||||
if ((kindFlags & ATTR_Metadata) > 0) {
|
||||
writer.newLine();
|
||||
for (int m : metadata) {
|
||||
writer.append("metadata");
|
||||
writer.newLine();
|
||||
writer.append("metadata ");
|
||||
writer.append("\"");
|
||||
writer.append(Helper.escapePCodeString(abc.constants.getString(abc.metadata_info.get(m).name_index)));
|
||||
writer.append("\"");
|
||||
|
||||
Reference in New Issue
Block a user