Print SafeStr list at the bottom (AS3)

This commit is contained in:
Jindra Petřík
2025-07-25 15:31:09 +02:00
parent 12ab8af322
commit 90a82a538a
257 changed files with 1121 additions and 825 deletions

View File

@@ -58,6 +58,7 @@ import java.util.Base64;
import java.util.BitSet;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
@@ -248,7 +249,7 @@ public class Helper {
*/
public static String escapeExportname(SWF swf, String s, boolean quote) {
if (s.startsWith("__Packages.")) {
return DottedChain.parseNoSuffix(s).toPrintableString(swf, false);
return DottedChain.parseNoSuffix(s).toPrintableString(new LinkedHashSet<>(), swf, false);
}
return (quote ? "\"" : "") + escapePCodeString(s) + (quote ? "\"" : "");
}