]> git.saurik.com Git - bison.git/commit - src/files.c
use a more consistent quoting style.
authorAkim Demaille <demaille@gostai.com>
Wed, 8 Feb 2012 09:28:58 +0000 (10:28 +0100)
committerAkim Demaille <demaille@gostai.com>
Wed, 8 Feb 2012 10:40:41 +0000 (11:40 +0100)
commit4c787a31df24b3bf184a4e109056a41d5712e5a7
tree9f795925f65f371115310e511a451a56147c3bf6
parent270ff8be147bdc9492e7aae511b307111cacb369
use a more consistent quoting style.

See <http://lists.gnu.org/archive/html/bug-bison/2012-01/msg00120.html>.
Use quotearg as often as possible instead of leaving the choice of
the quotes to the translators.  Use shorter messages.  Factor similar
messages to a single format, to make localization easier.

* src/files.c, src/getargs.c, src/muscle-tab.c, src/reader.c
* src/scan-code.l, src/scan-gram.l, src/symtab.c:
Use quote() or quotearg_colon() on printf arguments instead of
quotes in the format string.
* data/bison.m4: Keep sync with the changes in muscle-tab.c.

* tests/skeletons.at, tests/input.at, tests/regression.at: Adjust
expected messages.
(cherry picked from commit 4a9cd8f24abba232b4a07ccdda4c6f109d27acac)

Conflicts:

src/muscle-tab.c
13 files changed:
data/bison.m4
lib/.gitignore
src/files.c
src/getargs.c
src/muscle-tab.c
src/muscle-tab.h
src/reader.c
src/scan-code.l
src/scan-gram.l
src/symtab.c
tests/input.at
tests/regression.at
tests/skeletons.at