[Patch, Fortran] Cleanup of gfc_extend_expr
Steven Bosscher
stevenb.gcc@gmail.com
Wed Nov 2 22:52:00 GMT 2011
On Wed, Nov 2, 2011 at 11:17 PM, Janus Weil <janus@gcc.gnu.org> wrote:
> What the patch does is to change the return value from
> 'gfc_try' (SUCCESS/FAILURE) to 'match'
> (MATCH_YES/MATCH_NO/MATCH_ERROR). Of course we're not really
> 'matching' anything here, but the yes/no/error range of values is
> exactly what we need in this case, so I think (ab-)using the 'match'
> enum makes sense.
I don't like that at all. Sooner or later that's going to confuse
someone. There has to be a better solution...
Ciao!
Steven
More information about the Fortran
mailing list