Fixed incorrect error message.

This commit is contained in:
2017-03-15 16:49:42 +01:00
parent 33e47ae089
commit 2b2049171f

View File

@@ -58,7 +58,7 @@ struct TermTranslateVisitor
case Clingo::SymbolType::String: case Clingo::SymbolType::String:
return std::make_unique<ast::String>(std::string(symbol.string())); return std::make_unique<ast::String>(std::string(symbol.string()));
default: default:
throwErrorAtLocation(term.location, "only numeric “symbol terms allowed", context); throwErrorAtLocation(term.location, "symbol type not supported", context);
} }
return std::experimental::nullopt; return std::experimental::nullopt;