aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-03-07 15:16:56 +0100
committerJakub Jelinek <jakub@redhat.com>2022-03-07 15:16:56 +0100
commit02b7dd7f8233eb83f660cc021857be36cab2b846 (patch)
tree8c096d030d425230f2689851cba35a8e3c5805c5 /gcc/c
parent027e30414492d50feb2854aff38227b14300dc4b (diff)
downloadgcc-02b7dd7f8233eb83f660cc021857be36cab2b846.zip
gcc-02b7dd7f8233eb83f660cc021857be36cab2b846.tar.gz
gcc-02b7dd7f8233eb83f660cc021857be36cab2b846.tar.bz2
Add missing space in various string literals
After more than 2 years I've run my https://gcc.gnu.org/ml/gcc-patches/2017-02/msg00844.html script again. While it has lots of false positives, it discovered two bugs. 2022-03-07 Jakub Jelinek <jakub@redhat.com> gcc/c/ * c-parser.cc (c_parser_omp_clause_map): Add missing space in string literal. gcc/cp/ * parser.cc (cp_parser_omp_clause_map): Add missing space in string literal.
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/c-parser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-parser.cc b/gcc/c/c-parser.cc
index 84deac0..129dd72 100644
--- a/gcc/c/c-parser.cc
+++ b/gcc/c/c-parser.cc
@@ -16230,8 +16230,8 @@ c_parser_omp_clause_map (c_parser *parser, tree list)
else
{
c_parser_error (parser, "%<#pragma omp target%> with "
- "modifier other than %<always%> or %<close%>"
- "on %<map%> clause");
+ "modifier other than %<always%> or "
+ "%<close%> on %<map%> clause");
parens.skip_until_found_close (parser);
return list;
}