Skip to content

Commit

Permalink
Merge pull request #24 from ecmwf-ifs/marsdeno-cosmetic
Browse files Browse the repository at this point in the history
Cosmetic edits.
  • Loading branch information
marsdeno authored Jan 9, 2025
2 parents 7aca19d + 6dfdf8b commit 450dec2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions fortran/rules/S1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ Two-word control flow constructs should be written as single words.
``ENDIF`` rather than ``END IF``
``ENDDO`` rather than ``END DO``
``ENDWHERE`` rather than ``END WHERE``

(this one makes me cry a little)
2 changes: 1 addition & 1 deletion fortran/rules/S2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To be avoided :
.. code-block:: fortran
:caption: declaration order
SUBROUTINE WRONG_ORDER( ARG3, ARG2, ARG1)
SUBROUTINE WRONG_ORDER( ARG1, ARG2, ARG3)
INTEGER(KIND=JPIM), INTENT(IN) :: ARG3
INTEGER(KIND=JPIM), INTENT(IN) :: ARG2
Expand Down

0 comments on commit 450dec2

Please sign in to comment.