fpco / inline-c

284 stars 51 forks source link

C type parser does not support bitfields #108

Open expipiplus1 opened 4 years ago

expipiplus1 commented 4 years ago

I guess this is quite a niche feature, but it would be nice if the type parser was able to capture bitfield information.

> quickCParser_ False "int:8" parseType
TypeSpecifier (Specifiers {storageClassSpecifiers = [], typeQualifiers = [], functionSpecifiers = []}) (Int Signed)
bitonic commented 4 years ago

@expipiplus1 ah, right. Bitfields are definitely a standard feature, so I should probably support them. I'll read more on them and see.