stfc / fparser

This project maintains and develops a Fortran parser called fparser2 written purely in Python which supports Fortran 2003 and some Fortran 2008. A legacy parser fparser1 is also available but is not supported. The parsers were originally part of the f2py project by Pearu Peterson.
https://fparser.readthedocs.io
Other
61 stars 29 forks source link

Max number of arguments for CMPLX intrinsic is incorrect #209

Closed arporter closed 5 years ago

arporter commented 5 years ago

Line: https://github.com/stfc/fparser/blob/8a53476c0d8b774d92cf90ca0e1deffa6730fcb8/src/fparser/two/Fortran2003.py#L9279 specifies that the max. number of arguments is 2 whereas it should be 3 (see section 13.5.1 of https://wg5-fortran.org/N1601-N1650/N1601.pdf).

rupertford commented 5 years ago

pr #210 is now on master. Closing this issue.