From 603900db2e1f893de5a10d8da7d7e1d2552f991a Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 15 Mar 2010 23:20:36 +0100 Subject: tools/dfagen: limit c output using origin, closes #102 --- tools/dfagen/examples/tpl/template_cb.txt | 3 +++ tools/dfagen/examples/tpl/template_imported12.txt | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 tools/dfagen/examples/tpl/template_cb.txt create mode 100644 tools/dfagen/examples/tpl/template_imported12.txt (limited to 'tools/dfagen/examples/tpl') diff --git a/tools/dfagen/examples/tpl/template_cb.txt b/tools/dfagen/examples/tpl/template_cb.txt new file mode 100644 index 00000000..7495502e --- /dev/null +++ b/tools/dfagen/examples/tpl/template_cb.txt @@ -0,0 +1,3 @@ +%(state)s =%(event)s=> +%(branches_to)s + diff --git a/tools/dfagen/examples/tpl/template_imported12.txt b/tools/dfagen/examples/tpl/template_imported12.txt new file mode 100644 index 00000000..64c8e745 --- /dev/null +++ b/tools/dfagen/examples/tpl/template_imported12.txt @@ -0,0 +1,6 @@ + +Example for template origin limitation. + +Only states from Imported1 and Imported2 will be listed. + +%(states_template,template_cb.txt,origin=Imported1|Imported2)s -- cgit v1.2.3