Re: Add new debugging routines to the C++ parser (issue5232053)

2011-10-17 Thread Jason Merrill
On 10/12/2011 03:15 PM, Diego Novillo wrote: +static void +cp_debug_print_unparsed_function (FILE *file, cp_unparsed_functions_entry *uf) You probably want to handle uf->nsdmis here too now. Otherwise looks good. Jason

Add new debugging routines to the C++ parser (issue5232053)

2011-10-12 Thread Diego Novillo
I added this code while learning my way through the parser. It dumps most of the internal parser state. It also changes the lexer dumper to support dumping a window of tokens and highlighting a specific token when dumping. Tested on x86_64. OK for trunk? Diego. * parser.c: Remove ENA