diff options
author | Akim Demaille <demaille@gostai.com> | 2012-02-08 10:28:58 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-02-08 11:40:41 +0100 |
commit | 4c787a31df24b3bf184a4e109056a41d5712e5a7 (patch) | |
tree | 9f795925f65f371115310e511a451a56147c3bf6 /src/muscle-tab.h | |
parent | 270ff8be147bdc9492e7aae511b307111cacb369 (diff) | |
download | bison-4c787a31df24b3bf184a4e109056a41d5712e5a7.tar.gz |
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
Diffstat (limited to 'src/muscle-tab.h')
-rw-r--r-- | src/muscle-tab.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/muscle-tab.h b/src/muscle-tab.h index c9342577..74563ba5 100644 --- a/src/muscle-tab.h +++ b/src/muscle-tab.h @@ -21,6 +21,8 @@ #ifndef MUSCLE_TAB_H_ # define MUSCLE_TAB_H_ +# include <quotearg.h> + # include "location.h" void muscle_init (void); |