OpenFortranProject / ofp-sdf

SDF grammar for Fortran 2008 with constructors for AST
Other
23 stars 7 forks source link

Compiling ofp2fast.str failure because of CommonStmt #7

Closed ktras closed 7 years ago

ktras commented 9 years ago

In ofp2fast.str under is-specification-part has the following:

+> ?CommonStmt(, , , )

But when trying to make in trans, gives following error:

[ strc | info ] Compiling 'ofp2fast.str' [ strc | error ] in definition is-specification-part(0|0): constructor CommonStmt/4 not declared CommonStmt(, , , )

The CommonStmt line is now commented out.

rasmussn commented 7 years ago

This appears to have been an early issue that has been resolved in the FAST.rtg specification. CommonStmt now has arity of 2 and has many tests in tests/rule-tests/pp so should be thoroughly tested.