aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
1 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index 69d1689..fa3f1d7 100644
--- a/README
+++ b/README
@@ -30,7 +30,9 @@ type = bytefield
| "float32" | "float64"
.
-bytefield = "byte[" ( INTEGER | IDENT [ "*" INTEGER ]) "]".
+bytefield = "byte[" size "]".
+
+size = INTEGER | ( IDENT [ "*" INTEGER ]).
```
The identifier of a definition line can be left empty to ignore that particular value.