aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2022-12-11 11:47:55 +0100
committerTobias Burnus <tobias@codesourcery.com>2022-12-11 11:54:26 +0100
commit045592f665bcb67b75dc6b86badbe2fd44aed3e6 (patch)
tree016d7f8bf441b4e100aa86b12d2b1c803b6a6b6f /gcc/fortran
parentc6b12b802cd943af0985fbd3e74d773775b2b544 (diff)
downloadgcc-045592f665bcb67b75dc6b86badbe2fd44aed3e6.zip
gcc-045592f665bcb67b75dc6b86badbe2fd44aed3e6.tar.gz
gcc-045592f665bcb67b75dc6b86badbe2fd44aed3e6.tar.bz2
fortran/openmp.cc: Remove 's' that slipped in during %<..%> replacement
Seemingly, 's' (in VI that's the 's'ubstitute command) appeared verbatim in a gfc_error message when to doing the '...' to %<...%> replacements in commit r13-4590-g84f6f8a2a97f88be01e223c9c9dbab801a4f501f gcc/fortran/ * openmp.cc (gfc_match_omp_context_selector_specification): Remove spurious 's' in an error message.
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/openmp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/openmp.cc b/gcc/fortran/openmp.cc
index 7edc78a..686f924 100644
--- a/gcc/fortran/openmp.cc
+++ b/gcc/fortran/openmp.cc
@@ -5568,7 +5568,7 @@ gfc_match_omp_context_selector_specification (gfc_omp_declare_variant *odv)
if (m != MATCH_YES || i == selector_set_count)
{
- gfc_error ("expected %<constructs%>, %<device%>, %<implementation%> "
+ gfc_error ("expected %<construct%>, %<device%>, %<implementation%> "
"or %<user%> at %C");
return MATCH_ERROR;
}