From 2f50e30b89a06e2f3c439f4a8440e4d35b4ebb27 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 24 Jun 2010 19:53:59 -0400 Subject: Scopes can now provide a description of themselves This isn't being used yet, but it likely will to improve the information presented to users if their value expressions fail to compile or evaluate. --- src/textual.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index 7ddb5251..3dbae9a1 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -112,6 +112,10 @@ namespace { ~instance_t(); + virtual string description() { + return _("textual parser"); + } + void parse(); std::streamsize read_line(char *& line); bool peek_whitespace_line() { -- cgit v1.2.3