From 7ca80112fc817687481a40b65e4faa56a92c3ebe Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 30 Oct 2009 17:56:44 -0400 Subject: 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. --- src/interactive.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/interactive.cc') 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"); -- cgit v1.2.3