This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Possible parenthesizing bug
- To: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Subject: Re: Possible parenthesizing bug
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 04 Mar 1998 22:27:15 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <vyzd8g2eqqv.fsf@issan.informatik.uni-dortmund.de>you write:
> The following line from cp/lex.c:do_scoped_id generates a warning from gcc:
>
> if (parsing && yychar == '(' || yychar == LEFT_RIGHT)
>
> I think it lacks a pair of parentheses. Is that correct?
>
>
> Tue Mar 3 10:27:30 1998 Andreas Schwab <schwab@issan.informatik.uni-dort
> mund.de>
>
> * lex.c (do_scoped_id): Fix parenthesizing.
Since Kaveh's later message indicated that Jason agreed that parens
needed to be around the "||" expr I went ahead and installed this
patch.
Thanks
jeff