fortran-lang / fprettify

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

Variable names confused w/ relational operators #155

Open dbroemmel opened 1 year ago

dbroemmel commented 1 year ago

Relational operators may be confused with variable names in longer conditional statements. Take, e.g.

     if ( a .gt. b .and. ne .lt. c)

which will be re-formatted to

     if (a .gt. b.and .ne. lt.c)

breaking code.