This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix typo and miswordings in three error messages


Updating a bit the Dutch translations of GCC's messages,
I noticed the following mistakes in three msgids:

  "only displayed one"  ==>  "displayed only once"
  "none class-method"  ==>  "non-class method"
  "incorect"  ==>  "incorrect"

Below patch fixes those.  I'm not entirely sure about
the second fix, but the "none" doesn't make any sense.
When found okay, please apply.


2014-02-05  Benno Schulenberg  <bensberg@justemail.net>

	* gcov.c (find_source): Fix miswording in error message.
	* config/i386/i386.c (ix86_handle_cconv_attribute): Likewise.
	(ix86_expand_sse_comi_round): Fix typo in error message.


Index: gcov.c
===================================================================
--- gcov.c	(revision 207551)
+++ gcov.c	(working copy)
@@ -1141,7 +1141,7 @@
       if (!info_emitted)
 	{
 	  fnotice (stderr,
-		   "(the message is only displayed one per source file)\n");
+		   "(the message is displayed only once per source file)\n");
 	  info_emitted = 1;
 	}
       sources[idx].file_time = 0;
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c	(revision 207551)
+++ config/i386/i386.c	(working copy)
@@ -5446,7 +5446,7 @@
   else if (is_attribute_p ("thiscall", name))
     {
       if (TREE_CODE (*node) != METHOD_TYPE && pedantic)
-	warning (OPT_Wattributes, "%qE attribute is used for none class-method",
+	warning (OPT_Wattributes, "%qE attribute is used for non-class method",
 	         name);
       if (lookup_attribute ("stdcall", TYPE_ATTRIBUTES (*node)))
 	{
@@ -34230,7 +34230,7 @@
     }
   if (INTVAL (op2) < 0 || INTVAL (op2) >= 32)
     {
-      error ("incorect comparison mode");
+      error ("incorrect comparison mode");
       return const0_rtx;
     }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]