On Thu, Jan 04, 2001 at 11:27:28AM -0800, Bill Fenner wrote:
> Just a note: if you are using bison, adding -DYYERROR_VERBOSE will
> (sometimes) get you more useful "parse error" errors.
>
> I dunno if yacc has this functionality also; if so it'd be worth always
> enabling it;
Given that YYERROR_VERBOSE doesn't require any changes in the way the
parser is called, unless defining it causes problems with YACC or BYACC
parsers, it's probably worth enabling it even if YACC *doesn't* do
anything better if it's defined (unless it does something worse if it's
defined; I'll check to see, on my Solaris partition, if YYERROR_VERBOSE
affects the behavior of YACC).
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe