Re: [PATCH] limited C++ parsing support for gengtype

2012-10-02 Thread Diego Novillo
Aaron, I'm currently fixing other issues with gengtype and I needed this patch on top of them. I will be rolling both patches into a single one and commit them today/tomorrow. If you were working on further fixes to this, please give me a chance to commit this one first. Thanks. Diego.

Re: [PATCH] limited C++ parsing support for gengtype

2012-09-12 Thread Gabriel Dos Reis
On Wed, Sep 12, 2012 at 4:54 PM, Aaron Gray wrote: > On 11 September 2012 23:45, Gabriel Dos Reis > wrote: >> On Tue, Sep 11, 2012 at 3:41 PM, Diego Novillo wrote: >> @@ -778,6 +791,7 @@ type (options_p *optsp, bool nested) return resolve_typedef (s, &lexer_line);

Re: [PATCH] limited C++ parsing support for gengtype

2012-09-11 Thread Gabriel Dos Reis
On Tue, Sep 11, 2012 at 3:41 PM, Diego Novillo wrote: >> @@ -778,6 +791,7 @@ type (options_p *optsp, bool nested) >> return resolve_typedef (s, &lexer_line); >> >> case STRUCT: >> +case CLASS: > > > I think that as far as gengtype is concerned, 'struct' and 'class' should be > e

Re: [PATCH] limited C++ parsing support for gengtype

2012-09-11 Thread Diego Novillo
On 2012-08-29 20:31 , Aaron Gray wrote: 2012-08-30 Aaron Gray * gengtype-lex.l: Support for FILE Support for C++ single line Comments Support for classes Support for enums ignore 'static' ignore 'inline' ignore 'public:' i

Re: [PATCH] limited C++ parsing support for gengtype

2012-08-29 Thread Laurynas Biveinis
Hi - 2012/8/30 Aaron Gray : > First of two patches for class'ized cp/parser.c|h gives limited > support for gengtype to parse C++ classes and enums as first class > citizens. Please sync with Diego to avoid duplicate work and/or conflicting designs. Thanks, -- Laurynas

[PATCH] limited C++ parsing support for gengtype

2012-08-29 Thread Aaron Gray
First of two patches for class'ized cp/parser.c|h gives limited support for gengtype to parse C++ classes and enums as first class citizens. Patch to SVN HEAD 2012-08-30 Aaron Gray * gengtype-lex.l: Support for FILE Support for C++ single line Comments Support for classe