]> git.saurik.com Git - bison.git/commit
Provide convenience constructors for locations and positions.
authorAkim Demaille <demaille@gostai.com>
Tue, 23 Sep 2008 11:49:41 +0000 (13:49 +0200)
committerAkim Demaille <demaille@gostai.com>
Sat, 15 Nov 2008 09:23:51 +0000 (10:23 +0100)
commit0634493cdde92cbdb8d9fb95a5bebe596bb53798
tree524d31162294bd8e8f5d791aceaa77c60fc91a35
parentfe1b448ada5e3a79ae3f523e08b5004396f30ca9
Provide convenience constructors for locations and positions.

* 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.
ChangeLog
data/location.cc