aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-attribs.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-04-23 14:51:26 +0200
committerJakub Jelinek <jakub@redhat.com>2024-04-23 14:51:26 +0200
commitf99409459270831685f043987f8d09b9510ccabe (patch)
treeac57a4c566cbbf31ced3107d8801841ca165bd7a /gcc/c-family/c-attribs.cc
parent4338ac149e270e7fc8a607779ce7f21cb8c640d6 (diff)
downloadgcc-f99409459270831685f043987f8d09b9510ccabe.zip
gcc-f99409459270831685f043987f8d09b9510ccabe.tar.gz
gcc-f99409459270831685f043987f8d09b9510ccabe.tar.bz2
Further spelling fixes in translatable strings
This addresses the non-Oxford British English vs. US English spelling nits in translatable strings. I see various similar cases in m2 and rust FEs where they don't make it into gcc.pot, guess those would be nice to get fixed too. 2024-04-23 Jakub Jelinek <jakub@redhat.com> * config/darwin.opt (init): Spelling fix: initialiser -> initializer. gcc/c-family/ * c-attribs.cc (handle_objc_nullability_attribute): Spelling fix: recognised -> recognized. gcc/m2/ * lang.opt (fdef=, fmod=): Spelling fix: recognise -> recognize.
Diffstat (limited to 'gcc/c-family/c-attribs.cc')
-rw-r--r--gcc/c-family/c-attribs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-attribs.cc b/gcc/c-family/c-attribs.cc
index 40a0cf9..04e39b4 100644
--- a/gcc/c-family/c-attribs.cc
+++ b/gcc/c-family/c-attribs.cc
@@ -6244,7 +6244,7 @@ handle_objc_nullability_attribute (tree *node, tree name, tree args,
|| strcmp (TREE_STRING_POINTER (val), "resettable") == 0))
*no_add_attrs = false; /* OK */
else if (val != error_mark_node)
- error ("%qE attribute argument %qE is not recognised", name, val);
+ error ("%qE attribute argument %qE is not recognized", name, val);
return NULL_TREE;
}