From b566e4bcd0c7cb3c90ad941b37db223134090ded Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 8 May 2009 23:07:25 +0200 Subject: * tools/dfagen: - added state attributes. - added support for more than one initial state. - added table of transitions with only one default branch. - added state and event template parameter. - added --output-dir. - make template directory relative to config file. - more options checking. - added transition attributes and callback definition. - conserve input file order in output. - added --dump and more option checking. - fixed missing newline. --- tools/dfagen/examples/ex2.fsm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/dfagen/examples/ex2.fsm') diff --git a/tools/dfagen/examples/ex2.fsm b/tools/dfagen/examples/ex2.fsm index e290c05c..8142ad88 100644 --- a/tools/dfagen/examples/ex2.fsm +++ b/tools/dfagen/examples/ex2.fsm @@ -3,9 +3,9 @@ Example 2 A barman robot. States: - IDLE + IDLE [in=hello out=goodbye] waiting for a command - DROPPING_ICE + DROPPING_ICE [in=hi] FILLING_GLASS Events: @@ -15,13 +15,13 @@ Events: replace bottle IDLE: - command: with ice -> DROPPING_ICE + command: with ice -> DROPPING_ICE [ex2_idle_command] open the ice door command: without ice -> FILLING_GLASS start filling command: empty bottle -> . display "empty bottle, please replace it" - replace bottle -> . + replace bottle -> . [ex2_idle_replace] reset glass counter DROPPING_ICE: -- cgit v1.2.3