This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: debug gcc parser
- From: Ian Lance Taylor <iant at google dot com>
- To: "Vincent R." <forumer at smartmobili dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 24 Mar 2009 10:24:49 -0700
- Subject: Re: debug gcc parser
- References: <152b88d23448ee7d4a90100aad9250ac@mail.smartmobili.com>
"Vincent R." <forumer@smartmobili.com> writes:
> I put a breakpoint in c-parser and I would like to know if we can access
> the token name from the c_parser*.
> Sometimes I get lost and keyword is not enough.
What is the token name if not the keyword?
You can print a c_token value in the debugger. What else would you like
to see?
Ian