summaryrefslogtreecommitdiff
path: root/src/interactive.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-30 17:56:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-30 17:57:29 -0400
commit7ca80112fc817687481a40b65e4faa56a92c3ebe (patch)
treec371d1cb802795500dc9c174014b37c1058594ec /src/interactive.cc
parent5f2c766e0dc5405c9fa86c39a521bd48079d4b30 (diff)
downloadledger-7ca80112fc817687481a40b65e4faa56a92c3ebe.tar.gz
ledger-7ca80112fc817687481a40b65e4faa56a92c3ebe.tar.bz2
ledger-7ca80112fc817687481a40b65e4faa56a92c3ebe.zip
Change the value_t::POINTER type to value_t::SCOPE
scope_t pointers are the only kind that are ever stored in value objects, so there was no need to make it generic and use boost::any.
Diffstat (limited to 'src/interactive.cc')
-rw-r--r--src/interactive.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interactive.cc b/src/interactive.cc
index d2d6256b..61273f06 100644
--- a/src/interactive.cc
+++ b/src/interactive.cc
@@ -118,9 +118,9 @@ void interactive_t::verify_arguments() const
label = _("any value");
wrong_arg = false;
break;
- case 'P':
- label = _("a pointer");
- wrong_arg = ! next_arg->is_pointer();
+ case '^':
+ label = _("a scope");
+ wrong_arg = ! next_arg->is_scope();
break;
case 'S':
label = _("a sequence");