ecmwf-ifs / loki

Freely programmable source-to-source translation for Fortran
https://sites.ecmwf.int/docs/loki/
Apache License 2.0
29 stars 12 forks source link

Wrong parsing (at configure) of the space sign prevents Loki from attributing the type #318

Closed piotrows closed 3 months ago

piotrows commented 4 months ago

This is wrong: TYPE (DIMENSION_TYPE) , INTENT (IN) :: KDIM TYPE (STATE_TYPE) , INTENT (IN) :: STATE_T0 TYPE (AUX_TYPE) , INTENT (IN) :: PAUX This works correctly: TYPE (DIMENSION_TYPE) , INTENT(IN) :: KDIM TYPE (STATE_TYPE) , INTENT(IN) :: STATE_T0 TYPE (AUX_TYPE) , INTENT(IN) :: PAUX

Loki error message is ambiguous: RuntimeError: Unable to find the module declaring DEFERRED.

reuterbal commented 3 months ago

Thanks, issue is confirmed and fixed in #323