diff --git a/Monicelli.ypp b/Monicelli.ypp index 51db03a..1ffe09a 100644 --- a/Monicelli.ypp +++ b/Monicelli.ypp @@ -380,7 +380,7 @@ simple_expression: #include "Scanner.hpp" void Parser::error(const location_type& loc, const std::string &message) { - std::cerr << "Error at " << loc.begin.line << ":" << loc.begin.column; + std::cerr << "At " << loc.begin.line << "," << loc.begin.column; std::cerr << ": " << message << std::endl; }