fortran-lang / fprettify

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

fparse_utils.py: Make space after '!\$' in OMP_COND_RE optional #167

Open AlexanderRichert-NOAA opened 6 months ago

AlexanderRichert-NOAA commented 6 months ago

This PR makes the space after '!\$' in the OMP directive re match optional, so that it will cover the use case of !$OMP, i.e., no space.