Closed ysbaddaden closed 8 years ago
Awesome! I think the changes are OK. I'll merge this, since more things are working now.
I think I'll also move this project to the crystal-lang organization. What do you think?
Oh, great! I'm definitely capable to have most libc headers parsed now (Linux, FreeBSD).
I just have one last hiccup: no support for ifdef
which would be nice sometimes. Eg: to define some non POSIX signals, FreeBSD missing some Errno values, or to deal with errno
.
:+1: for moving to @crystal-lang
Here are some fixes for #15 and #16.
I'm not sure about 57f3e64 and maybe the problem should be fixed in the same manner than 572f2d30582ac880e725119cf3e16c4f6bd821c1 (nested typedef structs): memoize defines until an enum is visited, then change their values once the enum is parsed?