On Thu, 2007-12-20 at 09:08 -0500, Daniel Jacobowitz wrote: > On Thu, Dec 20, 2007 at 03:49:27AM -0200, Thiago Jung Bauermann wrote: > > This should logically be part of the next patch, but the C parser is > > scary code and I don't feel very confident that this is indeed the > > right way to do it. It works, though, and introduces no regressions. > > Do you need parser changes for this? "unsigned" is a C keyword, and a > bit special (e.g. in combinations with "int"); but doesn't _Decimal32 > act syntactically like a TYPENAME? > > Try following language_lookup_primitive_type_by_name around to > c_language_arch_info (and cplus_language_arch_info). Thanks for the tip. The below implements this approach and works well. -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center