]> git.saurik.com Git - bison.git/commit - tests/actions.at
c++: display locations as C does
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 25 Jan 2013 13:14:01 +0000 (14:14 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 25 Jan 2013 15:35:52 +0000 (16:35 +0100)
commitaedcb6c095347f71206ed9410ad27907b4be903e
tree46ed6294cb28ae0a080b55c408af732b70d51da4
parentc7442984e3d29b3282247e19b6be352a007f35aa
c++: display locations as C does

See commit 3804aa260b956dd012adde3894767254422a5fcf.

* data/location.cc (operator<<): Display location exactly as is
done in C skeletons.
* tests/local.at (AT_LOC_PUSHDEF, AT_LOC_POPDEF): Also define
AT_FIRST_LINE, AT_LAST_LINE, AT_FIRST_COLUMN, AT_LAST_COLUMN.
* tests/actions.at (Location Print): Also check C++ skeletons.
data/location.cc
tests/actions.at
tests/local.at