From 1cd565a1f0a8a1cdeb7fc8da144fd68b21449fb8 Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Fri, 28 Nov 2014 19:31:46 +0100 Subject: [PATCH] Improving error reporting message. --- Monicelli.ypp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }