Re: GTY as attributes

2008-02-25 Thread Tom Tromey
> "Taras" == Taras Glek <[EMAIL PROTECTED]> writes: Taras> typedef struct Name GTY(()) { Taras> }; Taras> These would parse fine as attributes if they were more like Taras> typedef struct GTY(()) Name { Taras> }; Taras> Would you be willing to accept such a change? I couldn't approve or reje

Re: GTY as attributes

2008-02-23 Thread Basile STARYNKEVITCH
Taras Glek wrote: Would you consider restructuring GTY markers to be more like GCC attributes? It could have some advantages, but if I understand what you mean it would make sense only on platforms where GCC is compiled by itself. I believe that (perhaps unfortunately) the rule is that GCC

GTY as attributes

2008-02-22 Thread Taras Glek
Hey Geoff, I've learned that you are the author of gengtype/GTY stuff from #gcc. Would you consider restructuring GTY markers to be more like GCC attributes? I'm writing code to generate code to convert GCC trees to JavaScript objects for my GCC plugin. Clearly this is similar to what gengtype