Closed mjklemm closed 1 year ago
I think the problem here is the #include
- fparser has only very limited support for pre-processor macros (since they aren't Fortran, see e.g. #333). You could try using the Fortran include
instead?
Ok, that seems to work better. I think I can manage to run the preprocessor first and provide "clean" Fortran to fparser.
PS: Closing this as "user error" :-)
The parser throws an error for this code snippet:
Error reported by the parser:
The error goes away when the
#include
is removed.