Handles whitespaces in between FPrime access modifiers and the colon, such as PRIVATE:. This will also catch newlines, so patterns like
PRIVATE
:
which are technically correct are handled and formatted correctly.
Note: the output of the formatting tool is not being altered. That is, a PRIVATE : input will result in a PRIVATE: output, which is the correct formatting.
format
Change Description
Handles whitespaces in between FPrime access modifiers and the colon, such as
PRIVATE:
. This will also catch newlines, so patterns likewhich are technically correct are handled and formatted correctly.
Note: the output of the formatting tool is not being altered. That is, a
PRIVATE :
input will result in aPRIVATE:
output, which is the correct formatting.Rationale
Fixes https://github.com/nasa/fprime/issues/1939