DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
yacc

Subroutines

This section contains user-defined routines. Usually the routines appearing here are used by actions that appear in the rules section. Additionally, a parser generated by yacc must be supplied with three routines: yylex to perform lexical analysis, yyerror to deal with error messages, and a main() routine. These routines can be supplied in the subroutines section.

The subroutines section is available as a convenience, because any functions that appear there can also be included using an include directive in the declarations section, or else linked to the parser module.


Next topic: The yacc environment
Previous topic: Other declarations

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003