Skip to content
Prev Previous commit
Next Next commit
docs: STYLE GUIDE attribute ordering convention spacing corrected
  • Loading branch information
BhoomishGupta committed Oct 17, 2025
commit 5199ca260a4cad1e1c7c7eff7cc084ea0bc49b3c
12 changes: 6 additions & 6 deletions STYLE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ focus on the semantics of the proposed changes rather than style and formatting.
* For module procedures, it is recommended to declare attributes before the module keyword for better retro compatibility (Projects using CMake versions lower than CMake 3.25.0 are concerned see [Spurious modules](https://gitlab.kitware.com/cmake/cmake/-/issues/18427#note_983426)).
Prefer the following pattern:
```
<attribute> <attribute> module <function/subroutine> <name>
```
instead of:
```
module <attribute> <attribute> <function/subroutine> <name>
```
<attribute> <attribute> module <function/subroutine> <name>
```
instead of:
```
module <attribute> <attribute> <function/subroutine> <name>
```
## End <scope> block closing statements

Fortran allows certain block constructs or scopes to include the name of the program unit in the end statement.
Expand Down