mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
change more quotes in source, and adjust tests to match
Run this command to change each `%s' to '%s' in source directories:
git grep -l '`%s'\' src djgpp data \
|xargs perl -pi -e '$q="'\''";s/`%s$q/$q%s$q/g'
* data/bison.m4: Affected per the above.
* djgpp/subpipe.c: Likewise.
* src/files.c: Likewise.
* src/getargs.c: Likewise.
* src/muscle-tab.c: Likewise.
* src/reader.c: Likewise.
* tests/glr-regression.at: Adjust to match.
* tests/input.at: Likewise.
* tests/push.at: Likewise.
* tests/skeletons.at: Likewise.
This commit is contained in:
@@ -421,7 +421,7 @@ language_argmatch (char const *arg, int prio, location loc)
|
||||
language = &valid_languages[i];
|
||||
return;
|
||||
}
|
||||
msg = _("invalid language `%s'");
|
||||
msg = _("invalid language '%s'");
|
||||
}
|
||||
else if (language_prio == prio)
|
||||
msg = _("multiple language declarations are invalid");
|
||||
@@ -679,9 +679,9 @@ getargs (int argc, char *argv[])
|
||||
if (argc - optind != 1)
|
||||
{
|
||||
if (argc - optind < 1)
|
||||
error (0, 0, _("missing operand after `%s'"), argv[argc - 1]);
|
||||
error (0, 0, _("missing operand after '%s'"), argv[argc - 1]);
|
||||
else
|
||||
error (0, 0, _("extra operand `%s'"), argv[optind + 1]);
|
||||
error (0, 0, _("extra operand '%s'"), argv[optind + 1]);
|
||||
usage (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user