On Wed, Jun 25, 2008 at 10:49 AM, Tom Tromey <[EMAIL PROTECTED]> wrote:
>>>>>> "Daniel" == Daniel Jacobowitz <[EMAIL PROTECTED]> writes:
>
>>> On Wed, Jun 25, 2008 at 08:35:41AM -0600, Tom Tromey wrote:
>>> I think most of the needed changes will be in gengtype.  If you aren't
>>> familiar with what this does, read gcc/doc/gty.texi.
>
> Daniel> Also - I may regret saying this but - doesn't gengtype have a
> Daniel> simplistic C parser in it?  How upset is it likely to get on C++
> Daniel> input?
>
> Yeah, it does -- see gengtype-parse.c.
> I haven't done extensive hacking there; I don't really know how upset
> it will be.  I assume it won't work the first time :)

It turns out that we already have a parser capable of handling C++...
why not just build gengtype on top of the C++ front end?

  - Doug

Reply via email to