bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 12/22] package: codespell


From: Akim Demaille
Subject: [PATCH 12/22] package: codespell
Date: Sat, 23 Jan 2021 15:55:51 +0100

* src/parse-gram.y: Fix spelling.
---
 Makefile.am      | 3 ++-
 src/parse-gram.y | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7db4fe118..f94842c41 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 7c146ea3c..2b24ac176 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
-- 
2.30.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]