Fixed: AS3 - escaping start import

This commit is contained in:
Jindra Petřík
2021-03-05 21:22:55 +01:00
parent 314f712351
commit 997630492f
2 changed files with 6 additions and 1 deletions
@@ -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;
}