bison-patches
[Top][All Lists]
Advanced

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

Re: Enum for token '0', EOF


From: Akim Demaille
Subject: Re: Enum for token '0', EOF
Date: Sat, 2 Sep 2006 10:09:45 +0300


Le 29 juil. 06 à 07:13, Joel E. Denny a écrit :

+       Clean up handling of %destructor for the end token (token 0).

Nice patch.  Since we are making BOF and EOF more like
regular tokens, we might be able to simplify the skeletons
even further by attaching the initial-action as a regular
(mid-rule) action before BOF, and attaching YYACCEPT has
the reduction-action for rule 0.  It might also help in other
areas (if bison can read these actions, it can "see" uses
of $$ that it might not have seen before, etc.).



reply via email to

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