This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran, openmp] PR43711 - report unexpected junk after OMP statements
On Tuesday 11 May 2010 18:26:29 Jakub Jelinek wrote:
> On Tue, May 11, 2010 at 06:11:03PM +0200, Daniel Franke wrote:
> > --- openmp.c (revision 159211)
> > +++ openmp.c (working copy)
> > @@ -467,7 +467,10 @@ match
> >
> > gfc_match_omp_taskwait (void)
> > {
> >
> > if (gfc_match_omp_eos () != MATCH_YES)
> >
> > - return MATCH_ERROR;
> > + {
> > + gfc_error("Unexpected junk after TASKWAIT clause at %C");
>
> Add a space before ( (occurs many times in the patch).
Done.
Otherwise ok to commit?
Daniel