diff options
Diffstat (limited to 'libertyxdr.adoc')
-rw-r--r-- | libertyxdr.adoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libertyxdr.adoc b/libertyxdr.adoc index d3255ed..0002184 100644 --- a/libertyxdr.adoc +++ b/libertyxdr.adoc @@ -93,10 +93,12 @@ and always-present field, which must be a tag *enum*: case CAR: void; case LORRY: i8 axles; case PLANE: i8 engines; + default: void; }; -All possible enumeration values must be named, and there is no *case* -fall-through. +There is no *case* fall-through. +Unless *default* is present, only the listed enumeration values are valid. +Any *default* must currently be empty. Framing ------- |