Browse Source

make protocol families extensible

ENGINE-814 TEST_ENGINE-814_1
Volker Birk 10 months ago
parent
commit
4ec29a5141
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      sync/gen_messages.ysl2

+ 3
- 1
sync/gen_messages.ysl2 View File

@ -48,7 +48,9 @@ tstylesheet {
`` for "fsm" | IMPORTS «@name» FROM «yml:ucase(@name)»;
«@name» ::= CHOICE {
`` for "fsm" |> «yml:lcase(@name)» [APPLICATION «@id»] «@name»`if "position()!=last()" > , `
«yml:lcase(fsm[1]/@name)» [APPLICATION «fsm[1]/@id»] «fsm[1]/@name»`if "count(fsm)>1" > ,`
`` if "count(fsm)>1" |> ...,
`` for "fsm[position()>1]" |> «yml:lcase(@name)» [APPLICATION «@id»] «@name»`if "position()!=last()" > ,`
}
END


Loading…
Cancel
Save