help-bison@gnu.org
[Top] [All Lists]

Re: How to make yyerror() report line?

Subject: Re: How to make yyerror() report line?
From: Rui Maciel
Date: Sat, 17 Oct 2009 11:07:20 +0100
Luca Marzolla wrote:

> Use yylineno variable.
> See %option yylineno in Flex:
> http://flex.sourceforge.net/manual/Options-Affecting-Scanner-Behavior.html#
> Options-Affecting-Scanner-Behavior

Thanks, Luca. It was just what the doctor ordered. Thanks!


Best regards,
Rui Maciel


_______________________________________________
help-bison@xxxxxxx http://lists.gnu.org/mailman/listinfo/help-bison

<Prev in Thread] Current Thread [Next in Thread>