]> git.saurik.com Git - bison.git/commit - m4/.gitignore
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:32:36 +0000 (11:32 +0100)
commit4a9cd8f24abba232b4a07ccdda4c6f109d27acac
treed418ca00f576cc3027bc2d3f98ca9293362d7d37
parent62a87154b3bb1af77ee153603972090a600bafce
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.
14 files changed:
data/bison.m4
lib/.gitignore
m4/.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