aboutsummaryrefslogtreecommitdiff
path: root/odb/validator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-28 17:51:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-28 17:51:23 +0200
commit7dff3249f7ef6f8675e0c0fcbe3109d50f4c1b1d (patch)
tree8596735f193cc4a377e97cf63af1a0a6c40d5bbf /odb/validator.cxx
parentc6a2b0f125c70f521daf820d014ff07b4fe8af3b (diff)
Add support for literal names (template-id, derived type declarator)
Diffstat (limited to 'odb/validator.cxx')
-rw-r--r--odb/validator.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/odb/validator.cxx b/odb/validator.cxx
index ee1c4dc..73c8f90 100644
--- a/odb/validator.cxx
+++ b/odb/validator.cxx
@@ -32,9 +32,6 @@ namespace
if (type.fq_anonymous (b.hint ()))
{
- // Can be a template-id (which we should handle eventually) or an
- // anonymous type in member declaration (e.g., struct {...} m_;).
- //
cerr << m.file () << ":" << m.line () << ":" << m.column () << ":"
<< " error: unnamed type in data member declaration" << endl;
@@ -132,9 +129,9 @@ namespace
if (!context::comp_value (b))
{
- // @@ Should we use hint here? Need template printer.
+ // @@ Should we use hint here?
//
- string name (b.fq_anonymous () ? "<anonymous>" : b.fq_name ());
+ string name (b.fq_name ());
cerr << c.file () << ":" << c.line () << ":" << c.column () << ":"
<< " error: base class '" << name << "' is not a "