diff options
author | Akim Demaille <demaille@gostai.com> | 2012-02-18 15:41:50 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-02-18 15:41:50 +0100 |
commit | 108df813c466663f80ed3cd5c74ec114369863d7 (patch) | |
tree | 63e726b5326477bc701ede987da4c3bba2f7e784 /lib | |
parent | 831a4fdb5eb2d2d459742118bcc2df14ec38c675 (diff) | |
download | bison-108df813c466663f80ed3cd5c74ec114369863d7.tar.gz |
maint: address a couple of syntax-check errors.
* cfg.mk (local-checks-to-skip): Remove sc_error_message_period
and sc_error_message_uppercase.
Address the uncovered issues.
* po/POTFILES.in: Add missing files.
* src/symtab.c: Remove useless includes.
* lib/bitset_stats.c, src/files.c, tests/glr-regression.at: Use
conformant error messages.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bitset_stats.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/bitset_stats.c b/lib/bitset_stats.c index e97af2d8..f6b87146 100644 --- a/lib/bitset_stats.c +++ b/lib/bitset_stats.c @@ -256,12 +256,12 @@ bitset_stats_read (const char *file_name) 1, file) != 1) { if (ferror (file)) - perror (_("Could not read stats file.")); + perror (_("cannot read stats file")); else - fprintf (stderr, _("Bad stats file size.\n")); + fprintf (stderr, _("bad stats file size\n")); } if (fclose (file) != 0) - perror (_("Could not read stats file.")); + perror (_("cannot read stats file")); } bitset_stats_info_data.runs++; } @@ -284,12 +284,12 @@ bitset_stats_write (const char *file_name) { if (fwrite (&bitset_stats_info_data, sizeof (bitset_stats_info_data), 1, file) != 1) - perror (_("Could not write stats file.")); + perror (_("cannot not write stats file")); if (fclose (file) != 0) - perror (_("Could not write stats file.")); + perror (_("cannot write stats file")); } else - perror (_("Could not open stats file for writing.")); + perror (_("cannot open stats file for writing")); } |