On 11/04/2015 03:53 PM, David Malcolm wrote:
This patch adds hints to the option-not-found error in the driver, using the Levenshtein distance implementation posted here: "[PATCH 0/2] Levenshtein-based suggestions (v3)" https://gcc.gnu.org/ml/gcc-patches/2015-10/msg03379.htmlIt splits out the identifier-based implementation into a new spellcheck-tree.c, keeping the core in spellcheck.c, since the tree checking code needed for IDENTIFIER_POINTER etc isn't available in the driver.
Nice. Ok. Bernd