| author | |
| committer | |
| log | a1d1e919c6fdb9e8b531043c6d247e454d85a27c |
| tree | d852d872527d8ab1c2466f061a7ea090424fccd7 |
| parent | 9602c574e96844aa5e96bc148f340619d9d8730c |
1 files changed, 9 insertions(+), 0 deletions(-)
src/util/yaml.zig+9| ... | @@ -171,6 +171,15 @@ fn condense_event_list_key(from: []Item, at: usize, to: *std.ArrayList(Item), li | ... | @@ -171,6 +171,15 @@ fn condense_event_list_key(from: []Item, at: usize, to: *std.ArrayList(Item), li |
| 171 | }); | 171 | }); |
| 172 | return 0+2-1; | 172 | return 0+2-1; |
| 173 | } | 173 | } |
| 174 | if (n == .mapping) { | ||
| 175 | try to.append(Item{ | ||
| 176 | .kv = Key{ | ||
| 177 | .key = get_event_string(t.event, lines), | ||
| 178 | .value = Value{ .mapping = n.mapping }, | ||
| 179 | }, | ||
| 180 | }); | ||
| 181 | return 0+2-1; | ||
| 182 | } | ||
| 174 | return null; | 183 | return null; |
| 175 | } | 184 | } |
| 176 | 185 |