Skip to content
New issue

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

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

Already on GitHub? # to your account

Add rule to require labelled exit statements #20

Closed
AdamVoysey opened this issue Jun 9, 2020 · 1 comment
Closed

Add rule to require labelled exit statements #20

AdamVoysey opened this issue Jun 9, 2020 · 1 comment
Labels
enhancement New feature or request new rule Add a new rule

Comments

@AdamVoysey
Copy link

exit statements in Fortran may be labelled with the corresponding construct they are to exit from, but in some circumstances that label may be optional.

Some styles may require this label to always be present, even when it is not mandated by the standard, so we require a rule to deal with this.

@MatthewHambley MatthewHambley added the enhancement New feature or request label Jul 17, 2020
@MatthewHambley MatthewHambley added this to the 0.3 milestone Apr 30, 2021
@MatthewHambley MatthewHambley added the new rule Add a new rule label Feb 22, 2022
bilal-chughtai added a commit to bilal-chughtai/stylist that referenced this issue Feb 24, 2022
bilal-chughtai added a commit to bilal-chughtai/stylist that referenced this issue Feb 24, 2022
bilal-chughtai added a commit to bilal-chughtai/stylist that referenced this issue Feb 25, 2022
MatthewHambley pushed a commit that referenced this issue Mar 7, 2022
This rule will fail if a naked exit is found. That is, one which does not reference a "do" loop label.
@MatthewHambley
Copy link
Collaborator

Closed by change request #36.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request new rule Add a new rule
Projects
None yet
Development

No branches or pull requests

2 participants