ptop put operators on different lines
Original Reporter info from Mantis: hellotiger
-
Reporter name:
Original Reporter info from Mantis: hellotiger
- Reporter name:
Description:
When ptop indents too much, it puts the rest of a line on different lines, each with one token. Operators like <> and <= are put on different lines, causing a compilation failure.
Steps to reproduce:
Copy test.p.
fpc test.p (Success)
ptop test.p test2.p
fpc test2.p (Failure)
Error messages:
Compiling test2.p
test2.p(11,98) Error: Illegal expression
test2.p(11,100) Fatal: Syntax error, "THEN" expected but "ordinal const" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
Mantis conversion info:
- Mantis ID: 34277
- Version: 3.0.4
- Fixed in version: 3.3.1
- Fixed in revision: 40803 (#db29d01c)
- Target version: 3.2.0