| www.delorie.com/gnu/docs/bison/bison_69.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The Bison parser is actually a C function named yyparse. Here we
describe the interface conventions of yyparse and the other
functions that it needs to use.
Keep in mind that the parser uses many C identifiers starting with `yy' and `YY' for internal purposes. If you use such an identifier (aside from those in this manual) in an action or in epilogue in the grammar file, you are likely to run into trouble.
4.1 The Parser Function yyparseHow to call yyparseand what it returns.4.2 The Lexical Analyzer Function yylexYou must supply a function yylexwhich reads tokens.4.3 The Error Reporting Function yyerrorYou must supply a function yyerror.4.4 Special Features for Use in Actions Special features for use in actions.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |