diff options
author | Marius Kintel <marius@kintel.net> | 2013-04-09 05:04:36 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-04-09 05:04:36 (GMT) |
commit | 151593705f0cd83e1c5880607639daae25502d8b (patch) | |
tree | 297440455c1e24a0d17f77e20675a7cbdc824eba /src/module.cc | |
parent | 2018a1fb6ae6ee65b79dfc96328945045baab753 (diff) |
Disable context debug output
Diffstat (limited to 'src/module.cc')
-rw-r--r-- | src/module.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.cc b/src/module.cc index 120d07e..d1e574d 100644 --- a/src/module.cc +++ b/src/module.cc @@ -120,7 +120,7 @@ AbstractNode *ModuleInstantiation::evaluate_instance(const Context *ctx) const } c.children = this->children; -#ifdef DEBUG +#if 0 && DEBUG PRINT("New eval ctx:"); c.dump(NULL, this); #endif @@ -161,7 +161,7 @@ AbstractNode *Module::evaluate(const Context *ctx, const ModuleInstantiation *in ModuleContext c(this, ctx, evalctx); // FIXME: Set document path to the path of the module c.set_variable("$children", Value(double(inst->children.size()))); -#ifdef DEBUG +#if 0 && DEBUG c.dump(this, inst); #endif |