]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran's gfc_match_char: %S to match symbol with host_assoc
authorTobias Burnus <tobias@codesourcery.com>
Tue, 20 Jun 2023 11:23:40 +0000 (13:23 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 20 Jun 2023 11:23:40 +0000 (13:23 +0200)
commit0607e93490058ec31b6ab57078c54771f139b870
tree7fe3372ce1d5736c933c60d35a19a3d08d1925c6
parent9d597e00757eedfb6b6cf5e0b5138b8029aeb28e
Fortran's gfc_match_char: %S to match symbol with host_assoc

gfc_match ("... %s ...", ...) matches a gfc_symbol but with
host_assoc = 0. This commit adds '%S' as variant which matches
with host_assoc = 1

gcc/fortran/ChangeLog:

* match.cc (gfc_match_char): Match with '%S' a symbol
with host_assoc = 1.
gcc/fortran/match.cc