diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-06-30 00:05:39 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-06-30 00:05:39 +0000 |
commit | 26a2e9934e1f679b767e631ef75123712575e7f5 (patch) | |
tree | f0226fa372c19600fd529ccba821f68b9b1613ba /.gitignore | |
parent | 63abcf45e6ae2e8ad40005ded995ad6230bf6474 (diff) | |
download | gcc-26a2e9934e1f679b767e631ef75123712575e7f5.tar.gz |
Offer suggestions for misspelled --param names.
gcc/ChangeLog:
* opts.c (handle_param): Use find_param_fuzzy to offer suggestions
for misspelled param names.
* params.c: Include spellcheck.h.
(find_param_fuzzy): New function.
* params.h (find_param_fuzzy): New prototype.
* spellcheck.c (struct edit_distance_traits<const char *>): Move
to...
* spellcheck.h (struct edit_distance_traits<const char *>):
...here.
gcc/testsuite/ChangeLog:
* gcc.dg/spellcheck-params.c: New testcase.
* gcc.dg/spellcheck-params-2.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237865 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions