summaryrefslogtreecommitdiff
path: root/module.c
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-07-16 15:36:42 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-07-16 15:36:42 +0000
commit8ef27e2fe652a8b29a8b57589863f2f2b45f9425 (patch)
tree94d0294034fb746796e771b6f7e538b2a0f2207c /module.c
parent480de114963ecee700ece5b8793916726c04b9ab (diff)
Pass arguments to repl/1
Diffstat (limited to 'module.c')
-rw-r--r--module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/module.c b/module.c
index 1ac931e..7d23f85 100644
--- a/module.c
+++ b/module.c
@@ -51,7 +51,8 @@ parsemodule(char *file)
print("Module name should be an atom in: %S\n", prettyprint(directive, 0, 0, 0, nil));
return nil;
}
- print("Public list for module '%S': %S\n", modulename->text, prettyprint(publiclist, 0, 0, 0, nil));
+ if(debug)
+ print("Public list for module '%S': %S\n", modulename->text, prettyprint(publiclist, 0, 0, 0, nil));
m = getmodule(modulename->text);
}
terms = terms->next;