This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [2/3] RFC: add token debugging to c-exp.y
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 21 Mar 2013 09:01:38 -0600
- Subject: Re: [2/3] RFC: add token debugging to c-exp.y
- References: <87txpeh9eh dot fsf at fleche dot redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> This patch defines YYPRINT for c-exp.y. It doesn't try to print every
Tom> possible token, but does print a substantial subset of them, and of
Tom> course can easily be extended.
Tom> * c-exp.y (YYPRINT): Define.
Tom> (c_print_token): New function.
I'm checking this in now.
Tom