This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Possible parenthesizing bug


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]