On 19 Sep 2005, at 09:35, Akim Demaille wrote:

Index: ChangeLog
from  Akim Demaille  <[EMAIL PROTECTED]>

    Remove the traits, failed experiment.
    It never proved useful, and anyway because of the current
    definition, it was not possible to have several specialization of
    this traits, making it useless.
    * data/lalr1.cc (yy:traits): Remove.
    Inline its definitions in the parser class.

Also, just use the std::deque for stack. I think that std::stack will not be able to look deeper than top, as is required by the parser. And std::deque is in the latest C++ revision written so that it does not invoke copy constructors when expanding the stack, as it just allocates a new chunk, leaving the old one intact.

  Hans Aberg




Reply via email to