https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120786
--- Comment #3 from James K. Lowden <jklowden at gcc dot gnu.org> --- Thank you for testing with MF. > Just keep in mind that a , and ; are valid Not alone, of course. The 2-character sequence [,;][[:space:]] is valid as separator space. > if var NOT<=-var+ 9 DISPLAY "GOOD". Unlike C, COBOL does not have unary operators, and defines numeric literals as signed or unsigned: "A literal shall not contain more than one sign character. If a sign is used, it shall appear as the leftmost character of the literal. If the literal is unsigned, the literal is nonnegative." Therefore, `ADD - 1 TO VAR.` is invalid, because '-' is a binary operator. But "`ADD, -1 TO VAR` is perfectly fine, because COBOL. The only accommodation I see here is to parse NOT<relop> -- i.e., `NOT=` and friends, for algebraic symbols -- as two tokens.
