aboutsummaryrefslogtreecommitdiff
path: root/gas/messages.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-05-22 18:53:22 +0930
committerAlan Modra <amodra@gmail.com>2014-05-22 18:53:22 +0930
commitb52855e7a06171f98918f9a35de695fa9a3abd88 (patch)
tree1521539ee7fa62797d0cc85150afd359040a1a9f /gas/messages.c
parenta0fed88764b4c42e856564171d035c0e8acc903f (diff)
downloadgdb-b52855e7a06171f98918f9a35de695fa9a3abd88.zip
gdb-b52855e7a06171f98918f9a35de695fa9a3abd88.tar.gz
gdb-b52855e7a06171f98918f9a35de695fa9a3abd88.tar.bz2
Fix whitespace in gas listing errors and warnings
gas/ * listing.c (listing_warning, listing_error): Add space after colon. * messages.c (as_warn_internal, as_bad_internal): Use the same string as above. gas/testsuite/ * gas/d30v/bittest.l: Update for changed whitespace. * gas/d30v/serial.l: Likewise. * gas/d30v/serial2.l: Likewise. * gas/d30v/serial2O.l: Likewise. * gas/d30v/warn_oddreg.l: Likewise. * gas/i386/inval-equ-2.l: Likewise. * gas/i386/mpx-inval-1.l: Likewise. * gas/i386/sse-check-error.l: Likewise. * gas/i386/x86-64-mpx-inval-1.l: Likewise. * gas/i386/x86-64-mpx-inval-2.l: Likewise. * gas/i386/x86-64-size-inval-1.l: Likewise. * gas/i386/x86-64-sse-check-error.l: Likewise.
Diffstat (limited to 'gas/messages.c')
-rw-r--r--gas/messages.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/messages.c b/gas/messages.c
index d592b36..2865c9d 100644
--- a/gas/messages.c
+++ b/gas/messages.c
@@ -151,12 +151,12 @@ as_warn_internal (char *file, unsigned int line, char *buffer)
if (file)
{
if (line != 0)
- fprintf (stderr, "%s:%u: %s %s\n", file, line, _("Warning:"), buffer);
+ fprintf (stderr, "%s:%u: %s%s\n", file, line, _("Warning: "), buffer);
else
- fprintf (stderr, "%s: %s %s\n", file, _("Warning:"), buffer);
+ fprintf (stderr, "%s: %s%s\n", file, _("Warning: "), buffer);
}
else
- fprintf (stderr, "%s %s\n", _("Warning:"), buffer);
+ fprintf (stderr, "%s%s\n", _("Warning: "), buffer);
#ifndef NO_LISTING
listing_warning (buffer);
#endif
@@ -216,12 +216,12 @@ as_bad_internal (char *file, unsigned int line, char *buffer)
if (file)
{
if (line != 0)
- fprintf (stderr, "%s:%u: %s %s\n", file, line, _("Error:"), buffer);
+ fprintf (stderr, "%s:%u: %s%s\n", file, line, _("Error: "), buffer);
else
- fprintf (stderr, "%s: %s %s\n", file, _("Error:"), buffer);
+ fprintf (stderr, "%s: %s%s\n", file, _("Error: "), buffer);
}
else
- fprintf (stderr, "%s %s\n", _("Error:"), buffer);
+ fprintf (stderr, "%s%s\n", _("Error: "), buffer);
#ifndef NO_LISTING
listing_error (buffer);
#endif