From 6fab73f1bdc91626663b708813e66f8f3c82f2ec Mon Sep 17 00:00:00 2001 From: gutmet Date: Thu, 30 Apr 2020 17:35:52 +0200 Subject: [PATCH] fix EBNF --- README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.