3552 |
@item %token-table |
@item %token-table |
3553 |
Generate an array of token names in the parser file. The name of the |
Generate an array of token names in the parser file. The name of the |
3554 |
array is @code{yytname}; @code{yytname[@var{i}]} is the name of the |
array is @code{yytname}; @code{yytname[@var{i}]} is the name of the |
3555 |
token whose internal Bison token code number is @var{i}. The first three |
token whose internal Bison token code number is @var{i}. The first |
3556 |
elements of @code{yytname} are always @code{"$"}, @code{"error"}, and |
three elements of @code{yytname} are always @code{"$"}, @code{"error"}, |
3557 |
@code{"$illegal"}; after these come the symbols defined in the grammar |
and @code{"$undefined."}; after these come the symbols defined in the |
3558 |
file. |
grammar file. |
3559 |
|
|
3560 |
For single-character literal tokens and literal string tokens, the name |
For single-character literal tokens and literal string tokens, the name |
3561 |
in the table includes the single-quote or double-quote characters: for |
in the table includes the single-quote or double-quote characters: for |