[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{maint} doc: improve the index
From: |
Akim Demaille |
Subject: |
{maint} doc: improve the index |
Date: |
Thu, 29 Nov 2012 14:12:02 +0100 |
commit 371f1b2b7bdba58cd8dc1b4dc91c30f2d0bc9cf2
Author: Akim Demaille <address@hidden>
Date: Thu Nov 29 14:09:34 2012 +0100
doc: improve the index
* doc/bison.texi: Fix uses of "deffn" so that the arguments of the
directives do not show in the index.
Remove a duplicate entry for api.pure.
diff --git a/doc/bison.texi b/doc/bison.texi
index 32396a8..21ce392 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -4866,7 +4866,6 @@ may override this restriction with the @code{%start}
declaration as follows:
@cindex reentrant parser
@cindex pure parser
@findex %define api.pure
address@hidden %define api.pure full
A @dfn{reentrant} program is one which does not alter in the course of
execution; in other words, it consists entirely of @dfn{pure} (read-only)
@@ -7364,7 +7363,7 @@ mysterious behavior altogether. You simply need to
activate a more powerful
parser table construction algorithm by using the @code{%define lr.type}
directive.
address@hidden {Directive} {%define lr.type @var{TYPE}}
address@hidden {Directive} {%define lr.type} @var{TYPE}
Specify the type of parser tables within the LR(1) family. The accepted
values for @var{TYPE} are:
@@ -7553,7 +7552,7 @@ split the parse instead.
To adjust which states have default reductions enabled, use the
@code{%define lr.default-reductions} directive.
address@hidden {Directive} {%define lr.default-reductions @var{WHERE}}
address@hidden {Directive} {%define lr.default-reductions} @var{WHERE}
Specify the kind of states that are permitted to contain default reductions.
The accepted values of @var{WHERE} are:
@itemize
@@ -7593,7 +7592,7 @@ that solves these problems for canonical LR, IELR, and
LALR without
sacrificing @code{%nonassoc}, default reductions, or state merging. You can
enable LAC with the @code{%define parse.lac} directive.
address@hidden {Directive} {%define parse.lac @var{VALUE}}
address@hidden {Directive} {%define parse.lac} @var{VALUE}
Enable LAC to improve syntax error handling.
@itemize
@item @code{none} (default)
@@ -7689,7 +7688,7 @@ resolution because they are useless in the generated
parser. However,
keeping unreachable states is sometimes useful when trying to understand the
relationship between the parser and the grammar.
address@hidden {Directive} {%define lr.keep-unreachable-states @var{VALUE}}
address@hidden {Directive} {%define lr.keep-unreachable-states} @var{VALUE}
Request that Bison allow unreachable states to remain in the parser tables.
@var{VALUE} must be a Boolean. The default is @code{false}.
@end deffn
- {maint} doc: improve the index,
Akim Demaille <=