https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109999

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Created attachment 55188
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55188&action=edit
Patch implementing the wording change "'#pragma omp/acc' clause" → "an
OpenMP/ACC clause" (untested)

I think the following wording is clearer, i.e.
- instead of:
  error: expected ‘#pragma omp’ clause before ‘uses_allocators’
+ now:
  error: expected an OpenMP clause before ‘uses_allocators’

(I could imagine even a more helpful wording in this case, but I think that
change is sufficient; The "before ..." (here: "before %qE") is appended via
c_parser_error → c_parser_error_richloc → c_parse_error.)

Reply via email to