diff -r 9aba95daf81a -r ce026aee03e0 stage1_2/iec_flex.ll --- a/stage1_2/iec_flex.ll Wed Jan 25 18:25:35 2017 +0000 +++ b/stage1_2/iec_flex.ll Wed Jan 25 18:29:55 2017 +0000 @@ -1193,10 +1193,11 @@ else {append_bodystate_buffer(yytext);} } - /* check if ';' occurs before an END_FUNCTION, END_FUNCTION_BLOCK, END_PROGRAM or END_ACTION. (If true => we are parsing ST; If false => parsing IL). */ + /* check if ';' occurs before an END_FUNCTION, END_FUNCTION_BLOCK, END_PROGRAM, END_ACTION or END_TRANSITION. (If true => we are parsing ST; If false => parsing IL). */ END_ACTION | /* execute the next rule's action, i.e. fall-through! */ END_FUNCTION | END_FUNCTION_BLOCK | +END_TRANSITION | END_PROGRAM { append_bodystate_buffer(yytext); unput_bodystate_buffer(); BEGIN(il_state); /*printf("returning start_IL_body_token\n");*/ return start_IL_body_token;} .|\n { append_bodystate_buffer(yytext); if (strcmp(yytext, ";") == 0)