Skip to content

[Feature] do not silently ignore comments #101

@dagit

Description

@dagit

Converted from SourceForge issue 2984522, submitted by dfranke

Consider:
$ cat contline.f
! Comments may go anywhere ...
INTEGER a
&, b ! ... even here!
&, c
END

Looking t the actions reported by '--dump' (ofp-0.8.0), a reproduction of above could would result in:
INTEGER a, b, c
END

Which is perfectly valid and equivalent to the original source - for the parser at least. A human reader might disagree.
If comments would be reported, any user of ofp could ignore them by not implementing the respective hook if they are not needed for the application at hand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions