• Auxiliary procedures used by translation rules
Section III: Auxiliary Procedures
Example:
int yylex() {
/* Get the next token */
&yylval = attribute;
return TYPE_OF_TOKEN;
}
68/69
Note: If the Yacc-parser do not  cooperate with a scanner (e.g. Lex), then there is yylex() implemented in this section.