Skip to content

Syntax error when parsing a file containing purely comments if ignore_comments=True #473

@arporter

Description

@arporter

If the FortranFileReader is told to ignore comments then attempting to parse a file consisting purely of comments raises a SyntaxError. It should just return an empty parse tree.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions