(bison.info) Type Decl
Info Catalog
(bison.info) Union Decl
(bison.info) Declarations
(bison.info) Expect Decl
Nonterminal Symbols
-------------------
When you use `%union' to specify multiple value types, you must declare
the value type of each nonterminal symbol for which values are used.
This is done with a `%type' declaration, like this:
%type <TYPE> NONTERMINAL...
Here NONTERMINAL is the name of a nonterminal symbol, and TYPE is the
name given in the `%union' to the alternative that you want ( The
Collection of Value Types Union Decl.). You can give any number of
nonterminal symbols in the same `%type' declaration, if they have the
same value type. Use spaces to separate the symbol names.
You can also declare the value type of a terminal symbol. To do
this, use the same `<TYPE>' construction in a declaration for the
terminal symbol. All kinds of token declarations allow `<TYPE>'.
Info Catalog
(bison.info) Union Decl
(bison.info) Declarations
(bison.info) Expect Decl
automatically generated byinfo2html