Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unnamed fields using contents generate compiler errors #825

Closed
Ithamar opened this issue Nov 11, 2020 · 0 comments
Closed

unnamed fields using contents generate compiler errors #825

Ithamar opened this issue Nov 11, 2020 · 0 comments
Assignees
Milestone

Comments

@Ithamar
Copy link

Ithamar commented Nov 11, 2020

when I use something like - contents: [ 1, 2, 3 ] in a ksy file, since the 0.9.0 release, I get the following error: unable to access 'unnamed_0' in test_ksy context.

This used to work fine before the 0.9.0 release and is easily reproducable with https://ide.kaitai.io.

@generalmimon generalmimon added this to the v0.10 milestone Nov 11, 2020
brunchboy added a commit to Deep-Symmetry/crate-digger that referenced this issue Feb 2, 2021
To do this also requried giving `id`s to all the previously un-exposed
magic numbers in the files, because of
kaitai-io/kaitai_struct#825

This upgrade may perhaps allow us to perform the XOR unmasking in a
language-independent way, although I am having trouble figuring out
how to get the sums in the mask cast to bytes so javac will accept the
resulting code.
@generalmimon generalmimon self-assigned this Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants