AR# 6286: Foundation 4.2i - If block statement structures use {,}s in ABEL state machine assignments, incorrect equations are produced
AR# 6286
|
Foundation 4.2i - ABEL のステート マシン代入文でブロック文に {,} を使用した場合、不正な論理式が生成される
説明
キーワード : XABEL, ABEL, .abl, state machine, goto, state equation, incorrect, ステート マシン, 論理式, 不正
重要度 : 標準
概要 : ステート論理式を閉じるために {,} を使用した場合、代入文が無視されてしまいます。
例 :
state_diagram Sreg async_reset InitState : CLR;
state InitState: if !(A # B) then InitState; else if (A) then {goto State1;} else {goto State2;} state State1: goto InitState; state State2: goto InitState;