+2023-10-16 Tobias Burnus <tobias@codesourcery.com>
+
+ Backported from master:
+ 2023-06-20 Tobias Burnus <tobias@codesourcery.com>
+
+ * match.cc (gfc_match_char): Match with '%S' a symbol
+ with host_assoc = 1.
+
2023-09-19 Tobias Burnus <tobias@codesourcery.com>
Backported from master:
%% Literal percent sign
%e Expression, pointer to a pointer is set
- %s Symbol, pointer to the symbol is set
+ %s Symbol, pointer to the symbol is set (host_assoc = 0)
+ %S Symbol, pointer to the symbol is set (host_assoc = 1)
%n Name, character buffer is set to name
%t Matches end of statement.
%o Matches an intrinsic operator, returned as an INTRINSIC enum.
goto loop;
case 's':
+ case 'S':
vp = va_arg (argp, void **);
- n = gfc_match_symbol ((gfc_symbol **) vp, 0);
+ n = gfc_match_symbol ((gfc_symbol **) vp, c == 'S');
if (n != MATCH_YES)
{
m = n;