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

Handle line markers #390

Open
MatthewHambley opened this issue Feb 13, 2023 · 0 comments
Open

Handle line markers #390

MatthewHambley opened this issue Feb 13, 2023 · 0 comments

Comments

@MatthewHambley
Copy link
Collaborator

Fortran preprocessors will, by default, often include "line markers" in the processed source. These are used by compilers to give the correct line numbers in the unprocessed source when reporting issues.

They have this form:

# <line number> <filename>

fParser needn't do anything with them (although it might use them in the same way compilers do) but it would help if it at least recognised them. At the moment it means source which has been through the preprocessor can't be parsed unless the preprocessor has been told to omit markers.

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

No branches or pull requests

1 participant