kaitai_struct
kaitai_struct copied to clipboard
ks-opaque-types not working with imports
Moved from https://github.com/kaitai-io/kaitai_struct_compiler/issues/120, originally submitted by @ii8:
ks-opaque-types: true seems to have no effect whenever there is an imports directive, even if they are completely unrelated.
Example:
filea.ksy:
meta:
id: filea
ks-opaque-types: true
imports:
- fileb
seq:
- id: a
type: i_am_opaque
fileb.ksy:
meta:
id: fileb
command:
λ /usr/local/Cellar/kaitai-struct-compiler/0.7/bin/kaitai-struct-compiler --target graphviz filea.ksy
/seq/0: unable to find type 'i_am_opaque', searching from filea
Any progress with it? It affects npy format.
Seeing the same problem, is there any progress on this?
@Puyodead1, it seems that opaque types specified in meta don't work without providing the CLI flag to the compiler.