forgotten printf
authorEdouard Tisserant <edouard@pep-project.org>
Mon, 10 Oct 2016 16:34:43 +0200
changeset 12647e69c59a659b
parent 1263 e57dfc9ba3d1
child 1265 a5426d97673e
forgotten printf
sync/gen_statemachine.ysl2
     1.1 --- a/sync/gen_statemachine.ysl2	Sun Oct 09 18:36:46 2016 +0200
     1.2 +++ b/sync/gen_statemachine.ysl2	Mon Oct 10 16:34:43 2016 +0200
     1.3 @@ -207,9 +207,8 @@
     1.4      template "state"
     1.5      ||
     1.6      case «@name»:
     1.7 -        printf("State : «@name»\\\\n");
     1.8          switch (event) {
     1.9 -        `` if "not(event[@name='Init'])" |>> case Init: printf("Event : Init\\\\n"); break;
    1.10 +        `` if "not(event[@name='Init'])" |>> case Init: break;
    1.11          `` apply "event", 2
    1.12              default:
    1.13                  return («../@name»_state) invalid_event;
    1.14 @@ -221,7 +220,6 @@
    1.15      template "event"
    1.16      ||
    1.17      case «@name»:
    1.18 -    printf("Event : «@name»\\\\n");
    1.19      `` apply "action|transition|condition";
    1.20      `` if "name(*[position()=last()]) != 'transition'" |> break;
    1.21      ||