]> git.saurik.com Git - bison.git/commit - src/location.c
Keep sub-messages aligned. Fix strings for translation.
authorAlex Rozenman <rozenman@gmail.com>
Sat, 19 Sep 2009 09:59:33 +0000 (12:59 +0300)
committerAlex Rozenman <rozenman@gmail.com>
Sat, 19 Sep 2009 10:15:53 +0000 (13:15 +0300)
commit348f56088399476429207812ded8d164c714f2f3
treedcaca85e2285d6feeb6040f8521990a0ad999e6e
parentd93b5f50cf2bde71df0f269a5e721aa43a312958
Keep sub-messages aligned. Fix strings for translation.

* src/location.h: (location_print): Add return value.
* src/location.c: (location_print): Return number of printed
characters.
* src/complain.h: Two new functions (complain_at_indent,
warn_at_indent).
* src/complain.cpp: Implement the alignment mechanism. Add new
static variable (indent_ptr). Use and update it (error_message,
complain_at_indent, warn_at_indent).
* src/scan-code.l: Fix strings for translations. Use new *_indent
functions (parse_ref, show_sub_messages).
* tests/named-ref.at: Adjust testcases.
* NEWS (2.5): Add an announcement about named references.
ChangeLog
NEWS
src/complain.c
src/complain.h
src/location.c
src/location.h
src/scan-code.l
tests/named-refs.at