| www.delorie.com/gnu/docs/bison/bison_77.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Here is a table of Bison constructs, variables and macros that are useful in actions.
$$ but specifies alternative typealt in the union
specified by the %union declaration. See section Data Types of Values in Actions.
$n but specifies alternative typealt in the
union specified by the %union declaration.
See section Data Types of Values in Actions.
yyparse, indicating failure.
See section The Parser Function yyparse.
yyparse, indicating success.
See section The Parser Function yyparse.
If the macro is used when it is not valid, such as when there is a look-ahead token already, then it reports a syntax error with a message `cannot back up' and performs ordinary error recovery.
In either case, the rest of the action is not executed.
yychar when there is no look-ahead token.
yyerror, and does not print any message. If you
want to print an error message, call yyerror explicitly before
the `YYERROR;' statement. See section 6. Error Recovery.
yyparse.) When there is
no look-ahead token, the value YYEMPTY is stored in the variable.
See section Look-Ahead Tokens.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |