aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config.zig b/src/config.zig
index 5bc449d..9655a85 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -392,9 +392,13 @@ fn skipAny(parser: *c.yaml_parser_t) !void {
break;
},
- c.yaml_event_type_t.YAML_SEQUENCE_START_EVENT, c.yaml_event_type_t.YAML_MAPPING_START_EVENT => depth += 1,
+ c.yaml_event_type_t.YAML_SEQUENCE_START_EVENT,
+ c.yaml_event_type_t.YAML_MAPPING_START_EVENT,
+ => depth += 1,
- c.yaml_event_type_t.YAML_SEQUENCE_END_EVENT, c.yaml_event_type_t.YAML_MAPPING_END_EVENT => {
+ c.yaml_event_type_t.YAML_SEQUENCE_END_EVENT,
+ c.yaml_event_type_t.YAML_MAPPING_END_EVENT,
+ => {
depth -= 1;
if (depth == 0)