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.
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).