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

@@ -35,7 +35,7 @@ size_t nstate_items;
state_item_number *state_item_map;
state_item *state_items;
// hash functions for index -> bitset hash maps
// Hash functions for index -> bitset hash maps.
typedef struct
{
int key;
@@ -293,10 +293,9 @@ init_prods (void)
}
}
/* Since lookaheads are only generated for reductions,
we need to propogate lookahead sets backwards as
the searches require each state_item to have a lookahead.
*/
/* Since lookaheads are only generated for reductions, we need to
propagate lookahead sets backwards as the searches require each
state_item to have a lookahead. */
static inline void
gen_lookaheads (void)
{