[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 Suppor

[PATCH] Remove dependency of cp/cp-lang.c on cp/parser.h

2012-08-29 Thread Aaron Gray
Patch removing the dependency of cp/cp-lang.c on cp/parser.c. This as been tested on Linux. [gcc/cp] 2012-08-29 Aaron Gray * cp/cp-lang.c: removed #include "parser.h" * cp/Make-lang.in: removed dependency of cp/cp-lang.c on cp/parser.h diff --git a/gcc/cp/cp-lang.c b

Re: remove dependency on cp/parser.h from cp/lang.c

2012-08-29 Thread Aaron Gray
On 29 August 2012 19:47, Marc Glisse wrote: > > On Wed, 29 Aug 2012, Aaron Gray wrote: > >> Just got my copyright assignment through, so here's my first GCC patch, > > > Welcome! Thanks Marc ! > > > >> This is a one liner removing the unneeded depende

remove dependency on cp/parser.h from cp/lang.c

2012-08-29 Thread Aaron Gray
Just got my copyright assignment through, so here's my first GCC patch, This is a one liner removing the unneeded dependency of cp-lang.c on cp/parser.h. This has been tested on Linux. Aaron diff --git a/gcc/cp/cp-lang.c b/gcc/cp/cp-lang.c index da7f1e1..5ca0b0a 100644 --- a/gcc/cp/cp-lang.c +++