summaryrefslogtreecommitdiff
path: root/module.c
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-07-16 20:30:26 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-07-16 20:30:26 +0000
commit8a1e32e6a8c441f8358bd580c655d5ff48716fa0 (patch)
tree916964771773b144ba5a4ec7e61ac22860122e99 /module.c
parentc8867502df27f516b0d46b1a254f0da572bdadb6 (diff)
Handle -d option in prolog
Diffstat (limited to 'module.c')
-rw-r--r--module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module.c b/module.c
index 7d23f85..5a74c1d 100644
--- a/module.c
+++ b/module.c
@@ -51,7 +51,7 @@ parsemodule(char *file)
print("Module name should be an atom in: %S\n", prettyprint(directive, 0, 0, 0, nil));
return nil;
}
- if(debug)
+ if(flagdebug)
print("Public list for module '%S': %S\n", modulename->text, prettyprint(publiclist, 0, 0, 0, nil));
m = getmodule(modulename->text);
}