From 5d253b30c5d84857d06393b77ce91fb974061665 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Thu, 27 Sep 2018 02:11:10 +0300 Subject: flac.fspec, enum instead of range --- spec/flac.fspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/flac.fspec b/spec/flac.fspec index 002a84e..973cc47 100644 --- a/spec/flac.fspec +++ b/spec/flac.fspec @@ -1,4 +1,4 @@ -enum { +enum block_type { STREAMINFO, PADDING, APPLICATION, @@ -23,7 +23,7 @@ struct flac { u8 header[4] | matches('fLaC') str; struct { u1 last_metadata_block; - u7 block_type | range(STREAMINFO, INVALID); + enum block_type u7 block_type; u24 length; select (block_type) { STREAMINFO) -- cgit v1.2.3-70-g09d2