diff options
Diffstat (limited to '055shape_shifting_container.cc')
-rw-r--r-- | 055shape_shifting_container.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc index fb847899..2f5cc81c 100644 --- a/055shape_shifting_container.cc +++ b/055shape_shifting_container.cc @@ -132,7 +132,7 @@ bool slurp_type_ingredients(istream& in, map<string, type_ordinal>& out) { while (has_data(in)) { string curr = slurp_until(in, ':'); if (out.find(curr) != out.end()) { - raise << "can't repeat type ingredient names in a single container definition: " << curr << '\n' << end(); + raise << "can't repeat type ingredient names in a single container definition: '" << curr << "'\n" << end(); return false; } put(out, curr, next_type_ordinal++); @@ -607,6 +607,6 @@ def main [ :(before "End variant_type Special-cases") if (contains_type_ingredient(element)) { if (!type->right) - raise << "illegal type '" << to_string(type) << "' seems to be missing a type ingredient or three\n" << end(); + raise << "illegal type " << to_string(type) << " seems to be missing a type ingredient or three\n" << end(); replace_type_ingredients(element.type, type->right, info); } |