Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Preprocessor: pb

Hi, 

I'm using photran 3.0beta and I have some problem to make indexer works
with preprocessor keys that I use in my code. Here is a piece of the
code:
   
MODULE opa

#if defined key_interp
   USE interpmod
#endif
!ML
#if defined key_timing
   USE timing
#endif

   IMPLICIT NONE
   PRIVATE

   !! * Routine accessibility
   PUBLIC opa_model      ! called by model.F90

CONTAINS
....

the indexer return error: 
unexpected # on line (corresponding to #endif statement)

I get the same pb with #else statement.

Anyone as an Idea
Regards Matthieu Laborie     




Back to the top