Un-believable bug
Tobias Burnus
burnus@net-b.de
Mon Oct 6 06:18:00 GMT 2014
Hi FX,
FX wrote:
> Tobias: your patch is reworking implicit parsing to some extent, maybe it fixes it?
No, my patch only touches match_implicit_none - not match_implicit.
> Finally, it could be that we simply need this:
> - if ((c == '\n') || (c == ','))
> + if ((c == '\n') || (c == ',') || (c == ';'))
Looking at match.c's gfc_match_eos, I think one also needs to handle '!'
and one needs to eat the ';'. Besides, I think one should try to use the
common machinery instead of using something home cooked. One should
probably grep for \n and check whether there is the same issue elsewhere.
Cheers,
Tobias
More information about the Fortran
mailing list