[FORTRAN PATCH] PR30400: ANY not accepted as FORALL mask
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Fri Feb 16 17:37:00 GMT 2007
Tobias Schlüter wrote:
> The whole business of backing up symbols is necessary because we create
> symbols very early, as soon as we match a name, long before we know if
> we match a legal statement or what kind of symbol could come in the
> current place. In the case under consideration it is always clear from
> context if the current name should refer to a function or variable, so
> determining the flavor after matching the whole statement seems like the
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make this "creating the symbols only after matching the expression"
> safest route, not creating any inconsistencies by incomplete or
> ill-advised backups. This is probably true for most of the expression
> matching code, and a nice project would be reworking it to create the
> symbols much later in the process (Summer of Code anyone? :-)
- Tobi
More information about the Fortran
mailing list