From: Tobias Burnus Date: Sun, 11 Dec 2022 10:47:55 +0000 (+0100) Subject: fortran/openmp.cc: Remove 's' that slipped in during %<..%> replacement X-Git-Tag: basepoints/gcc-14~2610 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045592f665bcb67b75dc6b86badbe2fd44aed3e6;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/fortran/openmp.cc b/gcc/fortran/openmp.cc index 7edc78ad0cb0..686f924b47a7 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 %, %, % " + gfc_error ("expected %, %, % " "or % at %C"); return MATCH_ERROR; }