From af344b1ab145f043178a473b2ad32f88a8c74442 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 1 Aug 2008 02:53:32 -0400 Subject: 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 --- report.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report.h') 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]; } // -- cgit v1.2.3