On Fri, 22 Feb 2019 17:02:57 +0100, [email protected] wrote:

> $gcc lex.yy.c -o test -Wall

Comparing to your earlier compile statement, you dropped '-lfl' which caused 
the linking error.  To remedy the situation add to the top of the flex file

%option noyywrap
%option noinput nounput

Then the errors should go away. The first option makes linking against the flex 
library obsolete.

Enjoy flex.

HTH
J.


_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to