public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* debug gcc parser
@ 2009-03-24 15:41 Vincent R.
  2009-03-24 17:25 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent R. @ 2009-03-24 15:41 UTC (permalink / raw)
  To: gcc-help

Hi,

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.

Thanks
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: debug gcc parser
  2009-03-24 15:41 debug gcc parser Vincent R.
@ 2009-03-24 17:25 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2009-03-24 17:25 UTC (permalink / raw)
  To: Vincent R.; +Cc: gcc-help

"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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-24 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 15:41 debug gcc parser Vincent R.
2009-03-24 17:25 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).