Closed SchokiCoder closed 1 year ago
These lines cause segfaults respectively:
a ; a; c_int a = 2;
Interestingly enough, when changing the type from cint to i32 or bool it doesn't segfault anymore. (For now, i have only tested cint, bool and i32)
Is that the whole file? Can you attach an exact file (or push on a branch). I cannot reproduce this yet
Fixed! It was not the parsing, but the diagnostic message (unknown variable a) that caused the crash
These lines cause segfaults respectively:
Interestingly enough, when changing the type from cint to i32 or bool it doesn't segfault anymore. (For now, i have only tested cint, bool and i32)