]> gcc.gnu.org Git - gcc.git/commit
Fortran: Replace simple '.' quotes by %<.%>
authorTobias Burnus <tobias@codesourcery.com>
Sat, 10 Dec 2022 07:34:04 +0000 (08:34 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Sat, 10 Dec 2022 07:34:04 +0000 (08:34 +0100)
commit84f6f8a2a97f88be01e223c9c9dbab801a4f501f
treefe3f1ad91b58718ccc7aa8b51ff6678fa6457292
parent325529e21e81fbc3561d2568cb7e8a26296e5b2f
Fortran: Replace simple '.' quotes by %<.%>

When using %qs instead of '%s' or %<=%> instead of '=' looks nicer
by having nicer quotes and bold text, if the terminal supports it;
otherwise, plain quotes are used.

gcc/fortran/ChangeLog:

* match.cc (gfc_match_member_sep): Use %<...%> in gfc_error.
* openmp.cc (gfc_match_oacc_routine, gfc_match_omp_context_selector,
gfc_match_omp_context_selector_specification,
gfc_match_omp_declare_variant, resolve_omp_clauses): Likewise;
use %qs instead of '%s'.
* primary.cc (match_real_constant, gfc_match_varspec): Likewise.
* resolve.cc (gfc_resolve_formal_arglist, resolve_operator,
resolve_ordinary_assign): Likewise.
gcc/fortran/match.cc
gcc/fortran/openmp.cc
gcc/fortran/primary.cc
gcc/fortran/resolve.cc
This page took 0.069181 seconds and 6 git commands to generate.