[patch, fortran, openmp] PR43711 - report unexpected junk after OMP statements

Jakub Jelinek jakub@redhat.com
Tue May 11 16:18:00 GMT 2010


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).

	Jakub



More information about the Fortran mailing list