lalr1.cc: fix compiler warnings
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 8 Apr 2013 08:54:12 +0000 (10:54 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 8 Apr 2013 08:59:19 +0000 (10:59 +0200)
commite83be476a515a38f874e75a109430061c9198e4b
tree49e5dd84afbaed81a36a624fe52088324c88d777
parent80a2826e69b201f9a64c3f18825afe879472efb4
lalr1.cc: fix compiler warnings

Reported by Rob Conde.
http://lists.gnu.org/archive/html/bug-bison/2013-03/msg00003.html

* data/stack.hh (operator=, stack(const stack&)): Make this class
uncopyable, i.e., "undefine" these operators: make them private and
don't implement them.
(clear): New.
* data/lalr1.cc: Use it instead of an assignment.
(parser): Make this class uncopyable.
NEWS
THANKS
data/lalr1.cc
data/stack.hh