DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(bison.info) Interface

Info Catalog (bison.info) Grammar File (bison.info) Top (bison.info) Algorithm
 
 Parser C-Language Interface
 ***************************
 
    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 additional C code
 in the grammar file, you are likely to run into trouble.
 

Menu

 
* Parser Function   How to call `yyparse' and what it returns.
* Lexical           You must supply a function `yylex'
                         which reads tokens.
* Error Reporting   You must supply a function `yyerror'.
* Action Features   Special features for use in actions.
 
Info Catalog (bison.info) Grammar File (bison.info) Top (bison.info) Algorithm
automatically generated byinfo2html