diff --git a/cmd/genbindings/main.go b/cmd/genbindings/main.go index a50ea766..0416bc56 100644 --- a/cmd/genbindings/main.go +++ b/cmd/genbindings/main.go @@ -134,6 +134,10 @@ func main() { panic(err) } + if astInner == nil { + panic("Null in cache file for " + inputHeader) + } + // Convert it to our intermediate format parsed, err := parseHeader(astInner, "") if err != nil {