diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-05 04:28:33 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-05 04:28:33 -0400 |
commit | 2c65b95e49a1cec1c4f2fa6bcd2d31629f358f92 (patch) | |
tree | b6210cfb4c3e5629ee3510d452d64a738466c5fb /src | |
parent | 16f799767ce86731f67735e9a59bde5faa4cf645 (diff) | |
download | ledger-2c65b95e49a1cec1c4f2fa6bcd2d31629f358f92.tar.gz ledger-2c65b95e49a1cec1c4f2fa6bcd2d31629f358f92.tar.bz2 ledger-2c65b95e49a1cec1c4f2fa6bcd2d31629f358f92.zip |
Made "expr" command a synonym for "parse"
Diffstat (limited to 'src')
-rw-r--r-- | src/report.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc index e51736fd..f0923b33 100644 --- a/src/report.cc +++ b/src/report.cc @@ -1473,6 +1473,8 @@ expr_t::ptr_op_t report_t::lookup(const symbol_t::kind_t kind, case 'e': if (is_eq(p, "eval")) return WRAP_FUNCTOR(eval_command); + else if (is_eq(p, "expr")) + return WRAP_FUNCTOR(parse_command); break; case 'f': if (is_eq(p, "format")) |