* 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.
local-checks-to-skip = \
sc_immutable_NEWS \
sc_bindtextdomain \
local-checks-to-skip = \
sc_immutable_NEWS \
sc_bindtextdomain \
- sc_error_message_period \
- sc_error_message_uppercase \
sc_program_name \
sc_prohibit_HAVE_MBRTOWC \
sc_prohibit_always-defined_macros \
sc_program_name \
sc_prohibit_HAVE_MBRTOWC \
sc_prohibit_always-defined_macros \
1, file) != 1)
{
if (ferror (file))
1, file) != 1)
{
if (ferror (file))
- perror (_("Could not read stats file."));
+ perror (_("cannot read stats file"));
- fprintf (stderr, _("Bad stats file size.\n"));
+ fprintf (stderr, _("bad stats file size\n"));
}
if (fclose (file) != 0)
}
if (fclose (file) != 0)
- perror (_("Could not read stats file."));
+ perror (_("cannot read stats file"));
}
bitset_stats_info_data.runs++;
}
}
bitset_stats_info_data.runs++;
}
{
if (fwrite (&bitset_stats_info_data, sizeof (bitset_stats_info_data),
1, file) != 1)
{
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"));
- perror (_("Could not write stats file."));
+ perror (_("cannot write stats file"));
- perror (_("Could not open stats file for writing."));
+ perror (_("cannot open stats file for writing"));
djgpp/subpipe.c
lib/argmatch.c
lib/bitset_stats.c
djgpp/subpipe.c
lib/argmatch.c
lib/bitset_stats.c
lib/error.c
lib/getopt.c
lib/obstack.c
lib/error.c
lib/getopt.c
lib/obstack.c
return;
if (ferror (ptr))
return;
if (ferror (ptr))
- error (EXIT_FAILURE, 0, _("I/O error"));
+ error (EXIT_FAILURE, 0, _("input/output error"));
if (fclose (ptr) != 0)
error (EXIT_FAILURE, get_errno (), _("cannot close file"));
if (fclose (ptr) != 0)
error (EXIT_FAILURE, get_errno (), _("cannot close file"));
#include "system.h"
#include <hash.h>
#include "system.h"
#include <hash.h>
#include "complain.h"
#include "gram.h"
#include "complain.h"
#include "gram.h"
#include "symtab.h"
/*-------------------------------------------------------------------.
#include "symtab.h"
/*-------------------------------------------------------------------.
static void
yyerror (YYLTYPE *locp, char const *msg)
{
static void
yyerror (YYLTYPE *locp, char const *msg)
{
- fprintf (stderr, "Error at %d.%d-%d.%d: %s.\n", locp->first_line,
+ fprintf (stderr, "%d.%d-%d.%d: %s.\n", locp->first_line,
locp->first_column, locp->last_line, locp->last_column, msg);
}
locp->first_column, locp->last_line, locp->last_column, msg);
}
AT_COMPILE([glr-regr17])
AT_PARSER_CHECK([[./glr-regr17]], 0, [],
AT_COMPILE([glr-regr17])
AT_PARSER_CHECK([[./glr-regr17]], 0, [],
-[Error at 1.1-2.3: syntax is ambiguous.
+[1.1-2.3: syntax is ambiguous.