bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'lint' fixes for Bison-generated parsers


From: Paul Eggert
Subject: Re: 'lint' fixes for Bison-generated parsers
Date: Mon, 12 Dec 2005 10:51:40 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Akim Demaille <address@hidden> writes:

> Dare I suggest that
> you might want to report this knowledge somewhere, e.g., autoconf.texi?
> $0.02 from someone-who-did-nothing-but-suggests-others-to-do-more.

Yes, that's a good idea, but to be honest I'm a bit swamped.

>  > -            yysize_overflow |= yysize1 < yysize;
>  > +            yysize_overflow |= (yysize1 < yysize);
>
> I don't get that one.

Without the change, lint complains "warning: precedence confusion
possible; parenthesize".  I figured it's easy to squash that warning,
and I guess some would argue the code is more readable with the parens.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]