]> git.saurik.com Git - bison.git/commit
c++: locations: provide convenience constructors.
authorAkim Demaille <demaille@gostai.com>
Tue, 23 Sep 2008 11:49:41 +0000 (13:49 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Sat, 31 Mar 2012 09:23:45 +0000 (11:23 +0200)
commit2091988f7e4bb9020a38624601fc500631b0269b
tree7a8c22bffe765d3f69012a681825d36f2dd0d3c9
parent2a1bd0d7fec51ea91cee0406805f608e79cb8876
c++: locations: provide convenience constructors.

* data/location.cc (position::position): Accept file, line and
column as arguments with default values.
Always qualify initial line and column literals as unsigned.
(location::location): Provide convenience constructors.
(cherry picked from commit 0634493cdde92cbdb8d9fb95a5bebe596bb53798)

Conflicts:

ChangeLog-2012
data/location.cc
data/location.cc