On Tue, 9 Jun 2020 08:14:55 +0200 Thomas Koenig <tkoe...@netcologne.de> wrote:
> Hi Tom, > > > Bernhard> Yes, this is probably OK although Fortran is case- > > Bernhard> insensitive. I think we lowercase names coming in from the > > Bernhard> source (at least for the internal identifier nodes), so we > > Bernhard> should not be affected by any case change. > > > > I already checked it in, but FWIW it would be pretty easy to change > > get_edit_distance to have a case-insensitive mode. > > For Fortran identifiers, that would be really good. Would you do that? Is it really needed? We do not enter internal helper names (class names, anything artificial, anything leading underscore or leading uppercase) to the suggestions proposals so should never actually recommend any of those? And we lowercase identifiers from the user: $ printf "iIIi = 42\nend" | gfortran-10 -fimplicit-none -ffree-form -xf95 - <stdin>:1:4: Error: Symbol ‘iiii’ at (1) has no IMPLICIT type Why would we need a case-insensitive switch for the distance? TIA,