Andy Porter

Results 146 issues of Andy Porter

#311 moved the existing test for type_decl_stmt into its own file. However, further tests need to be added to this file to get full coverage of the class.

If code shadows an intrinsic but gives it a different interface then fparser currently raises a SyntaxError as the interface does not match that of the Fortran intrinsic and it...

enhancement
question

A new test file has been created for Modules in #293. However, the majority of the tests are still in test_fortran2003.py and need to be moved.

#293 is adding basic symbol table functionality. However, it does not yet capture all available information on module use statements. In particular, if we have some code that does: use...

As described in #252, fparser2's matching of structure constructors seems to be somewhat broken. In particular, it has a `Structure_Constructor_2` class that refers to R457.b. However I've been unable to...

bug

As evidenced in test_readfortran.py, test_f2py_directive_f77, f2py directives are not correctly handled in Fortran77 source (they seem to be entirely discarded by the reader).

Rule 913 has a *lot* of constraints, the majority of which fparser does not attempt to enforce. These are documented in the docstring of the class `Io_Control_Spec_List`.

In #252 it was discovered that the array-constructor matching is questionable. Although some tests were added there, full testing is still not performed. In particular, constraint C497 is not obeyed...

In #226/#227 the tests for the following constructs have been moved into separate files: Block Do Construct (R826), Non-block Do Construct (R835), Case Construct (R808), Component Part (R438), If Construct...

enhancement

The `get_reader()` utility in `fparser.api` attempts to decide whether the string it has been passed is actually a filename rather than Fortran code. Unfortunately it then falls over (in Python2)...

bug