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

Fortran: Support fixed format source code #4

Open
stevewpalmer opened this issue Nov 28, 2024 · 0 comments
Open

Fortran: Support fixed format source code #4

stevewpalmer opened this issue Nov 28, 2024 · 0 comments

Comments

@stevewpalmer
Copy link
Owner

At the moment the Fortran lexical analyser does not support fixed format source where whitespace are insignificant. Although this is very rarely used and only has value when compiling ancient Fortran source code, it may be worth looking to see if we can implement a quick fix for completeness.

In particular, the following are all variables although they start with keywords:

DO 3 =   53.
CALL FL =62.
TYPE I = 63.
GO TO 1 = 4 3.

This causes the ValidateFixedFormat2 unit test to fail, along with several FCVS21 tests (which are presently disabled in the make run for this reason).

@stevewpalmer stevewpalmer changed the title Support fixed format Fortran source code Fortran: Support fixed format source code Jan 5, 2025
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