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/dfagen/output/c/template_cb_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/dfagen/dfagen/output/c/template_cb_impl.c') diff --git a/tools/dfagen/dfagen/output/c/template_cb_impl.c b/tools/dfagen/dfagen/output/c/template_cb_impl.c index ffd9720f..e5a4d789 100644 --- a/tools/dfagen/dfagen/output/c/template_cb_impl.c +++ b/tools/dfagen/dfagen/output/c/template_cb_impl.c @@ -2,7 +2,7 @@ * %(state)s =%(event)s=> %(*branches_to)s */ %(prefix)s_branch_t -%(prefix)s__%(state)s__%(event)s (%(user.type)s *user) +%(callback)s (%(user.type)s *user) { %(returns)s } -- cgit v1.2.3