# HG changeset patch # User Edouard Tisserant # Date 1301936095 -7200 # Node ID beb05fe75e0cd0c66cd7f13d1879eb6f35710663 # Parent 579db02bebd91a196f0f60d6a41c6cb3d2d37af0 Make semantic error message compatible with beremiz diff -r 579db02bebd9 -r beb05fe75e0c stage3/visit_expression_type.cc --- a/stage3/visit_expression_type.cc Mon Apr 04 17:19:35 2011 +0200 +++ b/stage3/visit_expression_type.cc Mon Apr 04 18:54:55 2011 +0200 @@ -57,7 +57,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); \