Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Photran 6 support for C preprocessor

> #ifdef PARALLEL
>   DO I = MYPROC, N, NPROC
> #else
>   DO I = 1, N
> #endif
>   ! clever stuff
>   ENDDO

Actually, we added preprocessor support in Photran 6, so this example
works OK (with the correct filename extension) -- see the link below.
Unfortunately, we don't support preprocessed fixed form yet, though,
so it (and unpreprocessed free form) continue to work the way you
described.

http://wiki.eclipse.org/PTP/photran/documentation/photran6#Configuring_Source_Forms_and_Filename_Extensions

http://wiki.eclipse.org/PTP/new_and_noteworthy/4.0.0#Photran_6

Jeff


Back to the top