mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
The items parser accepted only the inline form,
" - {name: x, type: manifest}", and refused the block form a
hand-edited list naturally uses. Accept " - name: x" followed by
" type: x" as well, mixed freely with the inline form, and keep the
parser strict: a block item without a type, a stray or repeated key,
or an unknown type is still a hard error. The suite checks that both
forms parse identically. Fixes #1990.
AI assistance was used to write this change.
Signed-off-by: Tjark Gunnar Rasche <trasche@nvidia.com>