# HG changeset patch # User lbessard # Date 1220862864 -7200 # Node ID 120772c527f3c51f285e51863e33fdda2626926e # Parent d2dc99c319b6dd84fe4b5752808ce6d0b35b8499 Bug while wearching errors in transition with priority fixed diff -r d2dc99c319b6 -r 120772c527f3 stage1_2/iec.y --- a/stage1_2/iec.y Mon Sep 08 10:33:37 2008 +0200 +++ b/stage1_2/iec.y Mon Sep 08 10:34:24 2008 +0200 @@ -4961,12 +4961,12 @@ {$$ = NULL;} | '(' {cmd_goto_sfc_priority_state();} PRIORITY {cmd_pop_state();} ASSIGN integer ')' {$$ = $6;} -/* ERROR_CHECK_BEGIN */ +/* ERROR_CHECK_BEGIN | '(' ASSIGN integer ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'PRIORITY' missing between '(' and ':=' in transition declaration with priority."); yynerrs++;} | '(' error ASSIGN integer ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "expecting 'PRIORITY' between '(' and ':=' in transition declaration with priority."); yyerrok;} -/* ERROR_CHECK_END */ + ERROR_CHECK_END */ ;