summaryrefslogtreecommitdiff
path: root/src/interactive.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-05-08 02:01:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-05-08 02:01:59 -0400
commit713f308d0fda2cef2f171feac860e65d5483e56d (patch)
tree547423f6fee54351344e3c735ade51dac65e99d8 /src/interactive.cc
parent8acdb85a917d36a2b8468349d1fe82688d73fed9 (diff)
downloadfork-ledger-713f308d0fda2cef2f171feac860e65d5483e56d.tar.gz
fork-ledger-713f308d0fda2cef2f171feac860e65d5483e56d.tar.bz2
fork-ledger-713f308d0fda2cef2f171feac860e65d5483e56d.zip
interactive_t now takes an "X" for expressions
Diffstat (limited to 'src/interactive.cc')
-rw-r--r--src/interactive.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interactive.cc b/src/interactive.cc
index d0baf07a..9aeb5307 100644
--- a/src/interactive.cc
+++ b/src/interactive.cc
@@ -122,6 +122,10 @@ void interactive_t::verify_arguments() const
label = _("a scope");
wrong_arg = ! next_arg->is_scope();
break;
+ case 'X':
+ label = _("an expression");
+ wrong_arg = ! next_arg->is_expr();
+ break;
case 'S':
label = _("a sequence");
wrong_arg = false;