Mail Archives: djgpp/1999/10/21/12:08:54
On Thu, 21 Oct 1999, Michael Fischer wrote:
> I am using flex and bison that came with djgpp and cannot figure out
> which library to link for bison. I know that the -lfl is for flex.
> Anyone know what to link for bison? There is no lib file in the
> package.
Correct. Unlike Yacc, Bison doesn't need a library.
> My basic problem is the yyerror() is undefined and I get a compile
> error if I do not generate a generic one for myself.
This is explained in the Bison manual: you must provide yyerror
yourself. There is a trivial version in the manual, in the node
"Error Reporting", if you don't have anytrhing special to put into
yyerror.
- Raw text -