design: EBNF correction

This commit is contained in:
Sasha Koshka 2025-06-04 13:01:51 -04:00
parent 64eea2b5fa
commit ee94e87a6a

View File

@ -104,7 +104,7 @@ Below is an EBNF description of the language.
<field> -> <key> <ident> <type>
<type> -> <ident>
| "[" "]" <type>
| "{" (<field> ",")* <field>? "}"
| "{" (<field> ",")* [<field>] "}"
<message> -> <method> <ident> <type>
<typedef> -> <ident> <type>
```