This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

RE: [PATCH] Cilk Plus Array Notation for C++


> > > Hmm, I seem to have been unclear.  I was expecting that the call to
> > > cp_parser_array_notation could come after the braced list case, so
> > > we don't need to duplicate the offsetof or braced list code inside
> > > cp_parser_array_notation.
> > >
> > > And then if you'd like we could check for ':' before the ']' and
> > > give a helpful diagnostic.
> >
> > I Think I have fixed this as you requested.
> >

Hi Jason,
	I looked through the patch again. I was able to get rid of the first if-statement in cp_parser_postfix_open_square_expression function. I think now it looks exactly as you requested. 

Here is the fixed patch again. I am very sorry for sending so much regressions.

Thanks,

Balaji V. Iyer.

Attachment: diff.txt
Description: diff.txt

Attachment: CL.txt
Description: CL.txt


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