]> git.saurik.com Git - bison.git/commit
* data/lalr1.cc (Stack::Iterator, Stack::ConstIterator): Rename as...
authorAkim Demaille <akim@epita.fr>
Thu, 16 Sep 2004 14:41:18 +0000 (14:41 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 16 Sep 2004 14:41:18 +0000 (14:41 +0000)
commitecfe33e7994d81620b332715d39ae35de7264e8b
tree9f2c5cde0c8e7b0d6baf594efbdea2ac3f724511
parent1576d44dcea36851fda9da32b2d45cbe6afc712e
* data/lalr1.cc (Stack::Iterator, Stack::ConstIterator): Rename as...
(iterator, const_iterator): these, to be more in the C++ spirit.
Also, return reverse iterators so that when displaying the stack
we display its bottom first.
(Parser::stack_print_, Parser::reduce_print_): Match the messages
from yacc.c.
We should probably use vector here though.
ChangeLog
data/lalr1.cc