crystal-lang / crystal_lib

Automatic binding generator for native libraries in Crystal
138 stars 30 forks source link

Can't parse octal values #18

Closed ysbaddaden closed 8 years ago

ysbaddaden commented 8 years ago

I just got: "can't parse value of constant O_RDONLY: 00"

I suppose we should transform the value to 0o0 when value starts with a 0.