summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-08-03 12:22:15 +0200
committerAkim Demaille <akim.demaille@gmail.com>2021-08-03 12:22:52 +0200
commitb293d4fbcafc6287b858df194b7564c5a593b25e (patch)
tree45d54586af9e48a38d5b35151d849422026bfb55
parent952479fca7944f629b8c4d705f05c6987c4747a4 (diff)
downloadbison-b293d4fbcafc6287b858df194b7564c5a593b25e.tar.gz
doc: fix spello
* doc/bison.texi (Multiple start-symbols): here.
-rw-r--r--doc/bison.texi15
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/bison.texi b/doc/bison.texi
index c89b7b14..e2cd1525 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -15418,15 +15418,14 @@ invited to consult the dedicated literature.
@quotation
I have several closely related grammars, and I would like to share their
-implementations. In fact, I could use a single grammar but with
-multiple entry points.
+implementations. In fact, I could use a single grammar but with multiple
+entry points.
@end quotation
-Bison does not support multiple start-symbols, but there is a very
-simple means to simulate them. If @code{foo} and @code{bar} are the two
-pseudo start-symbols, then introduce two new tokens, say
-@code{START_FOO} and @code{START_BAR}, and use them as switches from the
-real start-symbol:
+Bison does not support multiple start-symbols, but there is a very simple
+means to simulate them. If @code{foo} and @code{bar} are the two pseudo
+start-symbols, then introduce two new tokens, say @code{START_FOO} and
+@code{START_BAR}, and use them as switches from the real start-symbol:
@example
%token START_FOO START_BAR;
@@ -15436,7 +15435,7 @@ start:
| START_BAR bar;
@end example
-These tokens prevents the introduction of new conflicts. As far as the
+These tokens prevent the introduction of new conflicts. As far as the
parser goes, that is all that is needed.
Now the difficult part is ensuring that the scanner will send these tokens