error message on unexpected junk after omp-statements (PR43711)

Daniel Franke franke.daniel@gmail.com
Fri May 7 19:13:00 GMT 2010


On Friday 07 May 2010 20:51:22 Daniel Franke wrote:
> Alternatively, one could replace >10 places where
> 
>   if (gfc_match_omp_eos () != MATCH_YES)
>     return MATCH_ERROR;
> 
> with
> 
>   if (gfc_match_omp_eos () != MATCH_YES)
>     {
>       gfc_error("Unexpected junk ... at %C");
>       return MATCH_ERROR;
>     }
>
> Preferences?

Alternative patch attached. Take your pick :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr43711-2.diff
Type: text/x-patch
Size: 3190 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100507/f39f6e5d/attachment.bin>


More information about the Fortran mailing list