Fix line number reporting for configuration errors
commit9859d330da11b74fd28c67ec91d16fe619e9cb8b
authorJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 30 Apr 2014 01:28:40 +0000 (29 21:28 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 30 Apr 2014 01:28:40 +0000 (29 21:28 -0400)
tree1dc6015482a74248a6ba14f5120b3c7910f44658
parent73a8e5b18855055b44e998834aa5cdb8160c307d
Fix line number reporting for configuration errors

Move tracking of line numbers into the IO layer instead of in the option
parsing code so that commands spanning multiple lines will not offset
the reported line numbers.
include/tig/io.h
src/io.c
src/options.c