Next: The Error Reporting Routine, Previous: The rpcalc Lexical Analyzer, Up: Reverse Polish Notation Calculator [Contents][Index]
rpcalc
In keeping with the spirit of this example, the controlling function is kept to the bare minimum. The only requirement is that it call yyparse to start the process of parsing.
yyparse
int main (void) { return yyparse (); }