Wednesday, May 23, 2007

Frown: c2hs parser

Copperbox revision 49.

Ahem, __attribute__ had been missing as a token from the lexer so attributes wouldn't parse - now corrected.

Added initial support for pretty printing attributes on structs and enums, though it looks like this is incorrect. I think enums and structs can have prefix and suffix attributes, currently they attributes are only printed in prefix position.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.