Do write '?' in ypsMinimal

This commit is contained in:
Felix Krause 2016-01-11 21:01:36 +01:00
parent f29a55c907
commit 2ed4499674
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ proc startItem(target: Stream, style: YamlPresentationStyle, indentation: int,
if style != ypsJson:
target.write("? ")
state = dFlowExplicitMapKey
elif isObject and style == ypsMinimal:
target.write(", ? ")
else:
target.write(", ")
state = dFlowImplicitMapKey