]> git.saurik.com Git - bison.git/commit - src/location.h
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:00:51 +0000 (13:00 +0300)
commit66381412d93f6a54e4d8e7e90b89149a9bca4945
tree2150404b268f8b3929bac9e1d1b895e7181c8b7e
parent5ad90d528dc5feedb0c1d8afe82719440ec17217
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).
* 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