help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rule Reduction


From: Laurence Finston
Subject: Re: Rule Reduction
Date: Thu, 22 Apr 2004 10:27:00 +0200 (MEST)

I put debugging output in the action for each rule, e.g.:

whatever: something something_else
{
#if DEBUG_COMPILE
   if (DEBUG_PARSER)
      cout << "*** Parser: whatever (something something_else).\n"
           << flush;
#endif

...

}

Laurence Finston

On Wed, 21 Apr 2004 address@hidden wrote:

> How can I debug our have BISON tell me which rules in my grammer were reduced?
> I cannot seem to find out which ones they are ..
>
> TIA,
> Chris
>
>
>
>
> _______________________________________________
> address@hidden http://mail.gnu.org/mailman/listinfo/help-bison
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]