Fixing error message incorrectly changed in previous merge.
authorMario de Sousa <msousa@fe.up.pt>
Tue, 05 Apr 2011 19:42:33 +0100
changeset 284 64a4504633d4
parent 283 214d3fdee596
child 285 3a60c6ff98b1
child 286 a4f4990d5c66
Fixing error message incorrectly changed in previous merge.
stage3/visit_expression_type.cc
--- a/stage3/visit_expression_type.cc	Tue Apr 05 18:31:55 2011 +0100
+++ b/stage3/visit_expression_type.cc	Tue Apr 05 19:42:33 2011 +0100
@@ -58,7 +58,7 @@
                                   (symbol1))
 
 #define STAGE3_ERROR(symbol1, symbol2, msg) {                                          \
-    fprintf(stderr, "plc.st:%d-%d..%d-%d: error : %s\n",                \
+    fprintf(stderr, "semantic error between (%d:%d) and (%d:%d): %s\n",                \
            FIRST_(symbol1,symbol2)->first_line, FIRST_(symbol1,symbol2)->first_column, \
            LAST_(symbol1,symbol2) ->last_line,  LAST_(symbol1,symbol2) ->last_column,  \
            msg);                                                                       \