correction in EBNF

This commit is contained in:
gutmet 2020-04-27 19:41:24 +02:00
parent 279429d0bf
commit 0e21baa45c

6
README
View File

@ -25,9 +25,9 @@ endianness = ("little endian" | "big endian") '\n'.
definition = [ IDENT ] ':' type '\n'.
type = bytefield
| int8 | int16 | int32 | int64
| uint8 | uint16 | uint32 | uint64
| float32 | float64
| "int8" | "int16" | "int32" | "int64"
| "uint8" | "uint16" | "uint32" | "uint64"
| "float32" | "float64"
.
bytefield = "byte[" ( INTEGER | IDENT ) "]".