Related articles |
---|
any lex/yacc debuggers???? varunyagain@rediffmail.com (2002-04-06) |
Re: any lex/yacc debuggers???? sbnicol@mindspring.com (Scott Nicol) (2002-04-07) |
Re: any lex/yacc debuggers???? k.prasad@attbi.com (Kamal R. Prasad) (2002-04-07) |
Re: any lex/yacc debuggers???? sbnicol@mindspring.com (Scott Nicol) (2002-04-10) |
Re: any lex/yacc debuggers???? sbnicol@mindspring.com (Scott Nicol) (2002-04-13) |
Re: any lex/yacc debuggers???? lex@cc.gatech.edu (Lex Spoon) (2002-04-29) |
From: | "Kamal R. Prasad" <k.prasad@attbi.com> |
Newsgroups: | comp.compilers |
Date: | 7 Apr 2002 22:43:24 -0400 |
Organization: | AT&T Broadband |
References: | 02-04-034 02-04-047 |
Keywords: | yacc, debug |
Posted-Date: | 07 Apr 2002 22:43:24 EDT |
Bison has a debug option to tell you which production is being reduced (so
you can actually see handle pruning etc).
regards
-kamal
[Every version of yacc I've ever seen has that. You usually have to define
YYDEBUG at compile time to include the code, then set the YYDEBUG environment
variable or something like it to turn it on at runtime. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.