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.
--- 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); \