From: Olivier Matz Date: Thu, 21 Mar 2019 19:23:44 +0000 (+0100) Subject: fix yaml cond example X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=77c3369ed06089b6b2d923e505bb953edea98b0b;p=protos%2Flibecoli.git fix yaml cond example --- diff --git a/examples/parse-yaml/cond.yaml b/examples/parse-yaml/cond.yaml index 49483ab..eabfa53 100644 --- a/examples/parse-yaml/cond.yaml +++ b/examples/parse-yaml/cond.yaml @@ -16,28 +16,25 @@ patterns: child: &term id: term - type: or + type: seq children: - - type: seq - id: function - children: - - type: any - id: function_name - attr: a_identifier - - type: any - attr: a_open - - type: option - id: term_list - child: - type: seq - children: - - *term - - type: many - child: - type: seq - children: - - type: str - string: "," - - *term - - type: any - attr: a_close + - type: any + id: function_name + attr: a_identifier + - type: any + attr: a_open + - type: option + id: term_list + child: + type: seq + children: + - *term + - type: many + child: + type: seq + children: + - type: str + string: "," + - *term + - type: any + attr: a_close