bison-patches
[Top][All Lists]
Advanced

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

Re: TODO update


From: Paul Hilfinger
Subject: Re: TODO update
Date: Mon, 22 Jul 2002 13:14:59 -0700

 > OK.  Then I must have missed the bits where the tables are changed.
 > Hm...

In output.c:
          /* GLR parsers need space for conflict lists, so we can't
             default conflicted entries.  For non-conflicted entries
             or as long as we are not building a GLR parser,
             actions that match the default are replaced with zero,
             which means "use the default". */

          if (max > 0)
            {
              int j;
              for (j = 0; j < ntokens; j++)
                if (actrow[j] == -default_rule
                    && ! (glr_parser && conflrow[j]))
                  actrow[j] = 0;
            }
        }

 > Would you say we ought to keep the same `output', with $default, as a
 > means to compress output, not the parser?

Oh, I don't really think so.  It would require extra work to do so
(since the entry doesn't look defaulted in GLR mode at the point the
report is made), and I really don't expect there to be a huge number
of conflicting entries in general anyway.

Paul




reply via email to

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