doc: spell check

* doc/bison.texi, NEWS, README-hacking.md: here.
And elsewhere.
This commit is contained in:
Akim Demaille
2020-04-13 18:34:50 +02:00
parent e9454c3456
commit 758172a8b9
13 changed files with 43 additions and 35 deletions

View File

@@ -385,7 +385,7 @@ AT_DATA_GRAMMAR([list.y],
// Starting with :: to ensure we don't output "<::" which starts by the
// digraph for the left square bracket.
%type <::string> item;
// Using the template type to exercize its parsing.
// Using the template type to exercise its parsing.
%type <::std::vector<string>> list;
%printer { yyo << $$; } <int> <::string> <::std::vector<string>>;

View File

@@ -857,7 +857,7 @@ AT_CHECK([cat stderr], 0, [expout])
# AT_CHECK_SPACES([FILES])
# ------------------------
# Make sure we did not introduce bad spaces. Checked here because all
# the skeletons are (or should be) exercized here.
# the skeletons are (or should be) exercised here.
m4_define([AT_CHECK_SPACES],
[AT_PERL_CHECK([-ne '
chomp;

View File

@@ -158,7 +158,7 @@ input.y: <warning>warning:</warning> fix-its can be applied. Rerun with option
## ------------------------------------- ##
# We trust the "#line", since that's what allows us to quote the
# actual source from which the gramar file was generated. But #line
# actual source from which the grammar file was generated. But #line
# can also be wrong, and point to a line which is shorter that the bad
# one. In which case we can easily forget to close the styling.
#

View File

@@ -115,7 +115,7 @@ AT_CLEANUP
# AT_TEST([DIRECTIVES], [COMPILER-FLAGS])
# ---------------------------------------
# Check that headers are self-contained and protected againt multiple
# Check that headers are self-contained and protected against multiple
# inclusions.
m4_pushdef([AT_TEST],

View File

@@ -62,7 +62,7 @@ start: 'a' 'b' 'c' ;
%%
]])
# Define comon code across to be included in
# Define common code across to be included in
# class Main for the trivial parser tests.
m4_define([AT_TRIVIAL_COMMON],[[
static class YYerror implements YYParser.Lexer

View File

@@ -1172,7 +1172,7 @@ m4_define([AT_BISON_CHECK_XML],
# AT_SET_ENV_IF(EXIT-STATUS)
# --------------------------
# Put this before a Bison invocation to set the environment to:
# - define COLUMNS to make the test suite independant of the user's
# - define COLUMNS to make the test suite independent of the user's
# environment;
# - keep Valgrind from complaining about reachable memory (when
# EXIT-STATUS is not 0).

View File

@@ -633,7 +633,7 @@ AT_CLEANUP
# extremely specific situations. web2c.y exhibits this situation.
# Below is a stripped version of the grammar. It looks like one can
# simplify it further, but just don't: it is tuned to exhibit a bug,
# which disapears when applying sane grammar transformations.
# which disappears when applying sane grammar transformations.
#
# It used to be wrong on yydefact only:
#