path: root/tools/dfagen/doc
diff options
authorNicolas Schodet2008-03-25 23:04:37 +0100
committerNicolas Schodet2008-03-25 23:04:37 +0100
commit55ea6889987a9ca1e7429951e0e94be0fa99d7af (patch)
tree48469a2386f302b6c7dfa814d6094b61e89d223c /tools/dfagen/doc
parent1ea652e0d5185aee5ca60182302d7bb2d4056b46 (diff)
* tools/dfagen:
- fixed warning in doc. - fixed missing newline. - added use of non default templates. - added warning about parser.g. - removed .orig file when patching.
Diffstat (limited to 'tools/dfagen/doc')
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/dfagen/doc/dfagen.txt b/tools/dfagen/doc/dfagen.txt
index 7e2b9abd..f3d8e93a 100644
--- a/tools/dfagen/doc/dfagen.txt
+++ b/tools/dfagen/doc/dfagen.txt
@@ -124,7 +124,7 @@ The ``-o`` option chooses the output method, the ``-d`` option gives your
automaton description, the ``-c`` option gives the output configuration file,
and the ``-p`` is the prefix, which is used to name output files.
-..warning: This is subject to change.
+.. warning:: This is subject to change.
@@ -170,7 +170,13 @@ and edit the copy. Next time, you will merge new elements to your version
The ``prefix.c`` file contains a function to be called each time en event
occurs. This function will run the corresponding transition callback and will
-check its return value.
+check its return value. Its return value should indicate the next state.
+Changing templates
+If the default output does not fit your needs, you can define your own
+templates. See ``ex2_tpl`` example.
Graphviz output
@@ -178,4 +184,4 @@ Graphviz output
Output name: ``dot``
There is currently no output configuration file. Run ``dot`` (from the
-Graphviz distribution to get a graphic output of the automaton.
+Graphviz distribution) to get a graphic output of the automaton.