always use output buffer sync
authorVolker Birk <vb@pep-project.org>
Wed, 29 May 2019 23:29:43 +0200
branchsync
changeset 3780e4d673d3038e
parent 3779 c6898c703a27
child 3781 bcf9649b3b41
always use output buffer
sync/gen_message_func.ysl2
     1.1 --- a/sync/gen_message_func.ysl2	Wed May 29 23:17:19 2019 +0200
     1.2 +++ b/sync/gen_message_func.ysl2	Wed May 29 23:29:43 2019 +0200
     1.3 @@ -288,12 +288,7 @@
     1.4  
     1.5  template "field", mode=update_message {
     1.6      const "message_name", "yml:mixedCase(../@name)";
     1.7 -    const "state" choose {
     1.8 -        when "@type='TID'"
     1.9 -            > «yml:lcase(ancestor::protocol/@name)»_state.own
    1.10 -        otherwise
    1.11 -            > «yml:lcase(ancestor::protocol/@name)»_state.«yml:lcase(ancestor::fsm/@name)»
    1.12 -    }
    1.13 +    const "state" > «yml:lcase(ancestor::protocol/@name)»_state.«yml:lcase(ancestor::fsm/@name)»
    1.14  
    1.15      choose {
    1.16          when "func:basicType()" // copyable