From 8ef27e2fe652a8b29a8b57589863f2f2b45f9425 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Fri, 16 Jul 2021 15:36:42 +0000 Subject: Pass arguments to repl/1 --- module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module.c') 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; -- cgit v1.2.3