summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-09-27 02:11:10 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-09-27 02:11:10 +0300
commit5d253b30c5d84857d06393b77ce91fb974061665 (patch)
tree288da66d8391741a9c2e1f9fcae9b9ca5cc4bba4
parent76ca0a2bdedb29a74fe4890fac6acac992697332 (diff)
flac.fspec, enum instead of range
-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)