fortran/openmp.cc: Remove 's' that slipped in during %<..%> replacement
authorTobias Burnus <tobias@codesourcery.com>
Sun, 11 Dec 2022 10:47:55 +0000 (11:47 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Sun, 11 Dec 2022 10:54:26 +0000 (11:54 +0100)
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.

gcc/fortran/openmp.cc

index 7edc78a..686f924 100644 (file)
@@ -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;
        }