X-Git-Url: http://git.droids-corp.org/?p=protos%2Flibecoli.git;a=blobdiff_plain;f=examples%2Fparse-yaml%2Fcond.yaml;h=eabfa53746d774d795a820d61dffe051ce500fbd;hp=49483ab883311962669337eb3e31e2291f59f98c;hb=77c3369ed06089b6b2d923e505bb953edea98b0b;hpb=c58139538f15f6aa5ecd9040ba17ee0f8383dffd 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