fprettify
fprettify copied to clipboard
DO LOOP Format Issue?
First, my apologies as I'm a novice Fortran programmer. I recently came across some code that did not prettify the way I would have expected it to. I am attaching the original code ( do-orig.txt ), the fprettified code ( do-fprettify ), and the what I would have expected the result to be ( do-expected.txt) I realize this may be just an issue with my understanding of Fortran code, so I am willing to accept that I need more education on this issue. In either event, I would appreciate your opinion. do-expected.txt do-fprettify.txt do-orig.txt
Please refer to #63, #52, and possibly #101.
If you switch to END DO instead of CONTINUE it feels a little more modern, is supported, and you can still use labels should you wish to do so.