diff options
author | Tom Tromey <tromey@adacore.com> | 2020-06-05 06:40:14 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-06-05 11:44:24 -0600 |
commit | 640e05e02b567fa5ccf4c207e6fc6c3e9a93b17c (patch) | |
tree | 4a3f2534885e8c58bbf02503415ca72257e2b3b8 /gcc/c/c-decl.c | |
parent | 1afc4672561a41dfbf4e3f2c1f35f7a5b7a20339 (diff) | |
download | gcc-640e05e02b567fa5ccf4c207e6fc6c3e9a93b17c.zip gcc-640e05e02b567fa5ccf4c207e6fc6c3e9a93b17c.tar.gz gcc-640e05e02b567fa5ccf4c207e6fc6c3e9a93b17c.tar.bz2 |
fortran/95509 - fix spellcheck-operator.f90 regression
My earlier patch to add case handling to the spell checker caused a
Fortran regression. I believe I must have misread the test results.
This patch fixes the problem by changing the cutoff. I chose this
value because the previous patch effectively multiplied the result of
get_edit_distance by 2 (unless a case change is involved).
gcc/fortran/ChangeLog:
PR fortran/95509
* misc.c (gfc_closest_fuzzy_match): Update cutoff value
computation.
Diffstat (limited to 'gcc/c/c-decl.c')
0 files changed, 0 insertions, 0 deletions