remove debug printing

This commit is contained in:
2026-06-20 17:56:39 +10:00
parent 7490f4ca02
commit 46ea792130

View File

@@ -2853,16 +2853,12 @@ ResultType(CometOperand, ErrorMessage) visitImportStatement(CometCompiler* c, Co
cometLibsPath = "";
}
printf("path = %s\n", path);
// no local file was found, look for it in the system wide libs
if (!found) {
snprintf(path, sizeof(path), "%s/%s.comet", cometLibsPath, libName);
found = access(path, F_OK) == 0;
}
printf("path = %s\n", path);
// comet file was found in system wide libs, try a .cometlib file
if (!found) {
snprintf(path, sizeof(path), "%s/%s.cometlib", cometLibsPath, libName);
@@ -2870,8 +2866,6 @@ ResultType(CometOperand, ErrorMessage) visitImportStatement(CometCompiler* c, Co
isExternal = found;
}
printf("path = %s\n", path);
// lib doesnt exist, KILL THEM!!!!
if (!found) {
Estr buffer = CREATE_ESTR("Could not find library \"");