X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c984dee8d14d19bee0750e5ceb24a666b0c59bae..a022ff418685a490925aed4adf19ebf8ed31239d:/doc/bison.texinfo diff --git a/doc/bison.texinfo b/doc/bison.texinfo index c91a740a..8072ae22 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -3800,8 +3800,11 @@ typedef struct YYLTYPE @} YYLTYPE; @end example -At the beginning of the parsing, Bison initializes all these fields to 1 -for @code{yylloc}. +When @code{YYLTYPE} is not defined, at the beginning of the parsing, Bison +initializes all these fields to 1 for @code{yylloc}. To initialize +@code{yylloc} with a custom location type (or to chose a different +initialization), use the @code{%initial-action} directive. @xref{Initial +Action Decl, , Performing Actions before Parsing}. @node Actions and Locations @subsection Actions and Locations @@ -10339,6 +10342,10 @@ grammatically indivisible. The piece of text it represents is a token. @bye +@c Local Variables: +@c fill-column: 76 +@c End: + @c LocalWords: texinfo setfilename settitle setchapternewpage finalout @c LocalWords: ifinfo smallbook shorttitlepage titlepage GPL FIXME iftex @c LocalWords: akim fn cp syncodeindex vr tp synindex dircategory direntry