diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-01 02:53:32 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-01 02:53:32 -0400 |
commit | af344b1ab145f043178a473b2ad32f88a8c74442 (patch) | |
tree | ee73595cde729810bab002725300a1cbd33ceb32 /report.h | |
parent | d213b32ffc6adaffa8e9ea4081b47c7b9403112c (diff) | |
download | fork-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; } // |