# HG changeset patch
# User Edouard Tisserant
# Date 1302169203 -7200
# Node ID 3a60c6ff98b16931da52e69c1d456a50adcfe810
# Parent  64a4504633d42dd5e8da76fc7b7345492dbb5329
Reverted semantic error message so that Beremiz can parse them and that user can double-click on error message to open related POU and select the faulty line.

diff -r 64a4504633d4 -r 3a60c6ff98b1 stage3/visit_expression_type.cc
--- a/stage3/visit_expression_type.cc	Tue Apr 05 19:42:33 2011 +0100
+++ b/stage3/visit_expression_type.cc	Thu Apr 07 11:40:03 2011 +0200
@@ -58,7 +58,7 @@
                                   (symbol1))
 
 #define STAGE3_ERROR(symbol1, symbol2, msg) {                                          \
-    fprintf(stderr, "semantic error between (%d:%d) and (%d:%d): %s\n",                \
+    fprintf(stderr, "plc.st:%d-%d..%d-%d: error : %s\n",                \
            FIRST_(symbol1,symbol2)->first_line, FIRST_(symbol1,symbol2)->first_column, \
            LAST_(symbol1,symbol2) ->last_line,  LAST_(symbol1,symbol2) ->last_column,  \
            msg);                                                                       \