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

Fix mixing of input and output io_implied_do rules #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dryabov
Copy link
Contributor

@dryabov dryabov commented Nov 17, 2019

Original code tries to parse variable from input_item prior to expr from output_item that results in an issue with the following code:

WRITE (99,*) (A(K)*B,K=1,3)

(Changing the order of input_item and output_item in the io_implied_do_object is not a correct solution because it allows expressions in the READ statement.)

Original code tries to parse `variable` from `input_item` prior to `expr` from `output_item` that results in issue with following code:
    WRITE (99,*) (A(K)*B,K=1,3)
Changing the order of `input_item` and `output_item` in the `io_implied_do_object` is not a correct solution because it allows expressions in the READ statement.
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

Successfully merging this pull request may close these issues.

1 participant