camfort / fortran-src

Fortran parsing and static analysis infrastructure
https://hackage.haskell.org/package/fortran-src
Other
48 stars 20 forks source link

Fix include parsing #210

Closed RaoulHC closed 2 years ago

RaoulHC commented 2 years ago

Block grammar rules expect to end with a newline, which isn't necessarily the case for an include, so we should append a newline to ensure it's correctly parsed.

raehik commented 2 years ago

Thank you! Looks like I put the newline in the wrong place when moving this over.