Bug while wearching errors in transition with priority fixed
authorlbessard
Mon, 08 Sep 2008 10:34:24 +0200
changeset 142 120772c527f3
parent 141 d2dc99c319b6
child 143 73372bdeeffb
Bug while wearching errors in transition with priority fixed
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 */
 ;