kaitai_struct icon indicating copy to clipboard operation
kaitai_struct copied to clipboard

Graphviz generator crashes on `sizeof<>` expressions

Open jtbandes opened this issue 2 years ago • 0 comments

The following definition crashes the graphviz generator:

meta:
  id: asdf
  file-extension: asdf

seq:
  - id: x
    size: sizeof<xx>
    
types:
  xx:
    seq:
      - id: a
        type: u1

I believe the problem is that this match doesn't handle sizeofs.

This is preventing log/mcap.ksy from having a svg generated at https://formats.kaitai.io/mcap/

jtbandes avatar May 19 '22 23:05 jtbandes