style: spell fixes

* Makefile.am (codespell): New.
* doc/bison.texi: Fixes.
Use @option for options.
* src/lssi.c, src/lssi.h, src/parse-simulation.h, src/state-item.c:
Fix spellos.
This commit is contained in:
Akim Demaille
2020-05-23 11:11:45 +02:00
parent e7aff57122
commit 3fea8fade8
8 changed files with 42 additions and 32 deletions

View File

@@ -131,3 +131,11 @@ gen-ChangeLog:
# Useful to debug.
.c.i:
$(CC) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -o $@ -E $<
.PHONY: codespell
codespell:
$(AM_V_GEN) cd $(srcdir) \
&& 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)