Fixed incorrect error message.

This commit is contained in:
Patrick Lühne 2017-03-15 16:49:42 +01:00
parent 33e47ae089
commit 2b2049171f
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

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