On 10/09/15 22:28, David Malcolm wrote:
There are a couple of FIXMEs here:
* where to call levenshtein_distance_unit_tests
Should this be part of make check? Perhaps a small program that is compiled and
linked with spellcheck.c? This would be possible if spellcheck.c did not depend
on tree.h
David Malcolm writes:
> + {
> + error_at_rich_loc
> + (,
> + "%qT has no member named %qE; did you mean %qE?",
> + type, component, field);
> + /* FIXME: error recovery: should we try to keep going,
> +
Screenshot:
https://dmalcolm.fedorapeople.org/gcc/2015-09-10/spellcheck.html
There are a couple of FIXMEs here:
* where to call levenshtein_distance_unit_tests
* should we attempt error-recovery in c-typeck.c:build_component_ref
gcc/ChangeLog:
* Makefile.in (OBJS): Add spellcheck.o.