Fixed incorrect error message.
This commit is contained in:
parent
33e47ae089
commit
2b2049171f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user