Fix scripts

This commit is contained in:
Guus Waals 2024-09-30 23:00:48 +08:00
parent b934a39bf7
commit 429943484b
2 changed files with 7 additions and 2 deletions

View File

@ -130,7 +130,7 @@ public class FunctionDatabase {
// Print the number of symbol names collected // Print the number of symbol names collected
script.println("Collected " + symbolNames.size() + " symbol names"); script.println("Collected " + symbolNames.size() + " symbol names");
boolean dryMode = true; boolean dryMode = false;
HashSet<Function> functionsToRegenerate = new HashSet<>(); HashSet<Function> functionsToRegenerate = new HashSet<>();
@ -218,6 +218,11 @@ public class FunctionDatabase {
if (madeAnyChanges) { if (madeAnyChanges) {
// Update CMake timestamp // Update CMake timestamp
RecompileConfig.INSTANCE.touchCMakeTimestamp(); RecompileConfig.INSTANCE.touchCMakeTimestamp();
globalDumper.dumpGlobals();
globalDumper.saveGlobalManifest();
TypeDumper typeDumper = new TypeDumper(script);
typeDumper.run();
} }
} }
} }

View File

@ -189,7 +189,7 @@ public class FunctionDumper {
ClangToken token = tokens.get(t); ClangToken token = tokens.get(t);
boolean thisDot = false; boolean thisDot = false;
script.println("Token: " + token.toString()); // script.println("Token: " + token.toString());
if (token.toString().equals(".")) { if (token.toString().equals(".")) {
// println("Found dot: " + token.toString() + " - " + token.getClass()); // println("Found dot: " + token.toString() + " - " + token.getClass());
thisDot = true; thisDot = true;