]> git.saurik.com Git - bison.git/commit
location: pass the location first
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 1 Feb 2013 13:24:48 +0000 (14:24 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 1 Feb 2013 13:24:48 +0000 (14:24 +0100)
commitb805eca764fa0a7f0b5693931a2289fc74689f40
treeb508397f2716446cb9f529966e1e050af4fbc803
parente6c25014bb566595d7de92696c8f67d63dbcf4a9
location: pass the location first

* src/location.h, src/location.c (location_print): For consistency
with other data structures and other location_* routines, pass the
location argument first.
* src/complain.c: Adjust.
(location_caret): Likewise.
* src/parse-gram.y: Adjust.
src/complain.c
src/location.c
src/location.h
src/parse-gram.y