summaryrefslogtreecommitdiff
path: root/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-01 02:53:32 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-01 02:53:32 -0400
commitaf344b1ab145f043178a473b2ad32f88a8c74442 (patch)
treeee73595cde729810bab002725300a1cbd33ceb32 /report.h
parentd213b32ffc6adaffa8e9ea4081b47c7b9403112c (diff)
downloadfork-ledger-af344b1ab145f043178a473b2ad32f88a8c74442.tar.gz
fork-ledger-af344b1ab145f043178a473b2ad32f88a8c74442.tar.bz2
fork-ledger-af344b1ab145f043178a473b2ad32f88a8c74442.zip
Improved the output from some debugging commands.
There are now three commands one can use to interact with value expressions directly: ledger parse EXPR # shows the parse tree resulting from EXPR ledger compile EXPR # shows what the compiled tree looks like ledger eval EXPR # print the resulting value, useful in scripts
Diffstat (limited to 'report.h')
-rw-r--r--report.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/report.h b/report.h
index 619c4bdd..a492a9a4 100644
--- a/report.h
+++ b/report.h
@@ -240,7 +240,7 @@ public:
}
value_t option_bar(call_scope_t& args) {
std::cout << "This is bar: " << args[0] << std::endl;
- return NULL_VALUE;
+ return args[0];
}
//