Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] do not silently ignore comments #101

Open
dagit opened this issue Jan 31, 2013 · 0 comments
Open

[Feature] do not silently ignore comments #101

dagit opened this issue Jan 31, 2013 · 0 comments

Comments

@dagit
Copy link
Member

dagit commented Jan 31, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant