On Tue, 12 Dec 2006, Christopher Li wrote:
>
> I took a stab at it. It seems that direct_declarator() does handle
> attributes, but it does not change the ctype to the declarator.
> It is kind of awkward that the type is already build when it hit
> the attribute in the end. It need to go back to overwrite
> the already parsed type.
Yes. I actually tried to fix this by moving the type "finalization" part
later, but it got really really nasty.
> I have this patch seems make the test case happy. I am not sure
> this is correct or not.
It looks correct to me, although not wonderfully pretty. But it's simpler
than the "don't do the int/fp type finalization until later" that I
couldn't even get to work (not that I spent a lot of time on it, but
still)
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html