fortran-lang / fprettify

auto-formatter for modern fortran source code
https://pypi.python.org/pypi/fprettify
Other
376 stars 78 forks source link

Comment is indented #61

Closed rgov closed 4 years ago

rgov commented 4 years ago

I have a file that begins

      program swe
c

This is indented to

      program swe
         c

Which no longer compiles because the c is not in the leftmost column.

pseewald commented 4 years ago

fprettify does not support c comments, only modern Fortran syntax (Fortran 90 upwards) is supported.