Open mtmoncur opened 7 years ago
If a precompiler tag like #endif is commented out, fortpy still detects it as needing precompilation. This can be fixed by updating the pre-compiler regex to be ^[\s]#endif$ in fortpy.parsers.module.
#endif
fortpy
^[\s]#endif$
fortpy.parsers.module
Actually you need ^[\s]*#endif$ and compile with multiline.
^[\s]*#endif$
If a precompiler tag like
#endif
is commented out,fortpy
still detects it as needing precompilation. This can be fixed by updating the pre-compiler regex to be^[\s]#endif$
infortpy.parsers.module
.