summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/flac.fspec4
1 files changed, 2 insertions, 2 deletions
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)