]> git.saurik.com Git - bison.git/commit - src/location.c
errors: show carets
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Fri, 30 Nov 2012 13:34:56 +0000 (14:34 +0100)
committerTheophile Ranquet <ranquet@lrde.epita.fr>
Wed, 5 Dec 2012 12:46:01 +0000 (13:46 +0100)
commit3f5d1b2c67651a9d620946de421f2e51600b885e
tree3d00d5b06e3fb46d21d77a07c38afc7bb5a4045d
parent0db2648930e3b6c376a539aabe368aade83ee29a
errors: show carets

* src/locations.c (caret_info): New, persistant information useful
for...
(location_caret): New, print a caret.
(cleanup_caret): Release caret_info cleanly, call it...
* src/main.c (main): Here.
* src/complain.c (error_message): Call location_caret here.
src/complain.c
src/getargs.c
src/gram.c
src/location.c
src/location.h
src/main.c