Skip to content

Commit 9a6d66a

Browse files
committed
Fix incorrect usage of string keys for enum values Only integer keys are allowed
Closes kaitai-io/kaitai_struct#1132
1 parent e533644 commit 9a6d66a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scientific/nt_mdt/nt_mdt.ksy

+9-9
Original file line numberDiff line numberDiff line change
@@ -649,19 +649,19 @@ enums:
649649

650650
data_type:
651651
0: unknown0
652-
'-1': int8
652+
-1: int8
653653
1: uint8
654-
'-2': int16
654+
-2: int16
655655
2: uint16
656-
'-4': int32
656+
-4: int32
657657
4: uint32
658-
'-8': int64
658+
-8: int64
659659
8: uint64
660-
'-5892': float32
661-
'-9990': float48
662-
'-13320': float64
663-
'-16138': float80
664-
'-65544': floatfix
660+
-5892: float32
661+
-9990: float48
662+
-13320: float64
663+
-16138: float80
664+
-65544: floatfix
665665

666666

667667
xml_scan_location:

0 commit comments

Comments
 (0)