* 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.
This commit is contained in:
Akim Demaille
2004-09-16 14:41:18 +00:00
parent 1576d44dce
commit ecfe33e799
2 changed files with 18 additions and 7 deletions

View File

@@ -1,3 +1,13 @@
2004-09-16 Akim Demaille <akim@epita.fr>
* 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.
2004-09-16 Akim Demaille <akim@epita.fr>
Have more complete shift traces.