mirror of
https://github.com/mappu/miqt.git
synced 2025-01-02 21:58:38 +00:00
genbindings/main: fix an issue with clang crashing leaving behind an invalid cache file
This commit is contained in:
parent
2434084238
commit
61107aa1f2
@ -134,6 +134,10 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if astInner == nil {
|
||||||
|
panic("Null in cache file for " + inputHeader)
|
||||||
|
}
|
||||||
|
|
||||||
// Convert it to our intermediate format
|
// Convert it to our intermediate format
|
||||||
parsed, err := parseHeader(astInner, "")
|
parsed, err := parseHeader(astInner, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user