diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d0c1a72b..36c127d3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file. - AS3 direct editation - slot/const default values - #1328 AS1/2/3 direct editation - empty commands (just semicolon) - #1310 AS1/2/3 direct editation - modulo operator precedence +- AS3 - escaping start import ### Removed - #1631 ActiveX Flash component download in windows installer diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java index 3271011da..b506a6bf6 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java @@ -262,7 +262,11 @@ public abstract class Trait implements Cloneable, Serializable { writer.appendNoHilight(imp.getWithoutLast().toPrintableString(true)); writer.appendNoHilight("."); } - writer.hilightSpecial(IdentifiersDeobfuscation.printIdentifier(true, imp.getLast()), HighlightSpecialType.TYPE_NAME, imp.toRawString()); + if ("*".equals(imp.getLast())){ + writer.appendNoHilight("*"); + }else{ + writer.hilightSpecial(IdentifiersDeobfuscation.printIdentifier(true, imp.getLast()), HighlightSpecialType.TYPE_NAME, imp.toRawString()); + } writer.appendNoHilight(";").newLine(); hasImport = true; }