This commit is contained in:
Felix Krause 2020-11-10 22:12:09 +01:00
parent f79774e766
commit 45321cad13
1 changed files with 2 additions and 0 deletions

View File

@ -915,6 +915,8 @@ proc afterFlowMapSep(c: Context, e: var Event): bool =
c.lex.next()
c.popLevel()
return true
of SeqSep:
raise c.generateError("Missing mapping entry between commas (use '?' for an empty mapping entry)")
else: discard
c.transition(afterFlowMapKey)
c.pushLevel(beforeFlowItem)