diff --git a/Makefile.am b/Makefile.am index 7db4fe11..f94842c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -133,9 +133,10 @@ gen-ChangeLog: $(CC) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -o $@ -E $< .PHONY: codespell +CODESPELL = codespell codespell: $(AM_V_GEN) cd $(srcdir) \ - && codespell \ + && $(CODESPELL) \ --regex "[\\w\\-'’\`]+\+*" \ --ignore-words-list "ba,circularly,cloneable,copyable,define'd,dout,froms,iff,ifset,od,ois" \ $$(git ls-files data doc lib src tests) diff --git a/src/parse-gram.y b/src/parse-gram.y index 7c146ea3..2b24ac17 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -513,7 +513,7 @@ tag: // A non empty list of possibly tagged symbols for %nterm. // // Can easily be defined like symbol_decls but restricted to ID, but -// using token_decls allows to reudce the number of rules, and also to +// using token_decls allows to reduce the number of rules, and also to // make nicer error messages on "%nterm 'a'" or '%nterm FOO "foo"'. nterm_decls: token_decls