mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +00:00
doc: spell checking.
* doc/bison.texinfo: here.
(cherry picked from commit c781580d07)
Conflicts:
doc/bison.texinfo
This commit is contained in:
committed by
Joel E. Denny
parent
dc25ce6bb1
commit
87b9c9bc43
@@ -1,3 +1,8 @@
|
|||||||
|
2009-09-16 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
doc: spell checking.
|
||||||
|
* doc/bison.texinfo: here.
|
||||||
|
|
||||||
2009-09-13 Joel E. Denny <jdenny@clemson.edu>
|
2009-09-13 Joel E. Denny <jdenny@clemson.edu>
|
||||||
|
|
||||||
tests: clean up push.at test group titles.
|
tests: clean up push.at test group titles.
|
||||||
|
|||||||
@@ -5351,7 +5351,7 @@ This function is available if either the @code{%define api.push_pull "push"} or
|
|||||||
@xref{Push Decl, ,A Push Parser}.
|
@xref{Push Decl, ,A Push Parser}.
|
||||||
|
|
||||||
@deftypefun yypstate *yypstate_new (void)
|
@deftypefun yypstate *yypstate_new (void)
|
||||||
The fuction will return a valid parser instance if there was memory available
|
The function will return a valid parser instance if there was memory available
|
||||||
or 0 if no memory was available.
|
or 0 if no memory was available.
|
||||||
In impure mode, it will also return 0 if a parser instance is currently
|
In impure mode, it will also return 0 if a parser instance is currently
|
||||||
allocated.
|
allocated.
|
||||||
@@ -6808,7 +6808,7 @@ that allows variable-length arrays. The default is 200.
|
|||||||
Do not allow @code{YYINITDEPTH} to be greater than @code{YYMAXDEPTH}.
|
Do not allow @code{YYINITDEPTH} to be greater than @code{YYMAXDEPTH}.
|
||||||
|
|
||||||
@c FIXME: C++ output.
|
@c FIXME: C++ output.
|
||||||
Because of semantical differences between C and C++, the
|
Because of semantic differences between C and C++, the
|
||||||
@acronym{LALR}(1) parsers in C produced by Bison cannot grow when compiled
|
@acronym{LALR}(1) parsers in C produced by Bison cannot grow when compiled
|
||||||
by C++ compilers. In this precise case (compiling a C parser as C++) you are
|
by C++ compilers. In this precise case (compiling a C parser as C++) you are
|
||||||
suggested to grow @code{YYINITDEPTH}. The Bison maintainers hope to fix
|
suggested to grow @code{YYINITDEPTH}. The Bison maintainers hope to fix
|
||||||
@@ -8447,7 +8447,7 @@ global variables.
|
|||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
Then we request the location tracking feature, and initialize the
|
Then we request the location tracking feature, and initialize the
|
||||||
first location's file name. Afterwards new locations are computed
|
first location's file name. Afterward new locations are computed
|
||||||
relatively to the previous locations: the file name will be
|
relatively to the previous locations: the file name will be
|
||||||
automatically propagated.
|
automatically propagated.
|
||||||
|
|
||||||
@@ -8981,7 +8981,7 @@ changed using @code{%define location_type "@var{class-name}".}
|
|||||||
|
|
||||||
@deftypemethod {Lexer} {int} yylex ()
|
@deftypemethod {Lexer} {int} yylex ()
|
||||||
Return the next token. Its type is the return value, its semantic
|
Return the next token. Its type is the return value, its semantic
|
||||||
value and location are saved and returned by the ther methods in the
|
value and location are saved and returned by the their methods in the
|
||||||
interface.
|
interface.
|
||||||
|
|
||||||
Use @code{%define lex_throws} to specify any uncaught exceptions.
|
Use @code{%define lex_throws} to specify any uncaught exceptions.
|
||||||
@@ -8999,7 +8999,7 @@ The return type can be changed using @code{%define position_type
|
|||||||
@end deftypemethod
|
@end deftypemethod
|
||||||
|
|
||||||
@deftypemethod {Lexer} {Object} getLVal ()
|
@deftypemethod {Lexer} {Object} getLVal ()
|
||||||
Return the semantical value of the last token that yylex returned.
|
Return the semantic value of the last token that yylex returned.
|
||||||
|
|
||||||
The return type can be changed using @code{%define stype
|
The return type can be changed using @code{%define stype
|
||||||
"@var{class-name}".}
|
"@var{class-name}".}
|
||||||
@@ -9115,7 +9115,7 @@ corresponds to these C macros.}.
|
|||||||
@item
|
@item
|
||||||
Java lacks unions, so @code{%union} has no effect. Instead, semantic
|
Java lacks unions, so @code{%union} has no effect. Instead, semantic
|
||||||
values have a common base type: @code{Object} or as specified by
|
values have a common base type: @code{Object} or as specified by
|
||||||
@code{%define stype}. Angle backets on @code{%token}, @code{type},
|
@samp{%define stype}. Angle brackets on @code{%token}, @code{type},
|
||||||
@code{$@var{n}} and @code{$$} specify subtypes rather than fields of
|
@code{$@var{n}} and @code{$$} specify subtypes rather than fields of
|
||||||
an union. The type of @code{$$}, even with angle brackets, is the base
|
an union. The type of @code{$$}, even with angle brackets, is the base
|
||||||
type since Java casts are not allow on the left-hand side of assignments.
|
type since Java casts are not allow on the left-hand side of assignments.
|
||||||
@@ -9124,7 +9124,7 @@ left-hand side of assignments. See @pxref{Java Semantic Values} and
|
|||||||
@pxref{Java Action Features}.
|
@pxref{Java Action Features}.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
The prolog declarations have a different meaning than in C/C++ code.
|
The prologue declarations have a different meaning than in C/C++ code.
|
||||||
@table @asis
|
@table @asis
|
||||||
@item @code{%code imports}
|
@item @code{%code imports}
|
||||||
blocks are placed at the beginning of the Java source code. They may
|
blocks are placed at the beginning of the Java source code. They may
|
||||||
|
|||||||
Reference in New Issue
Block a user