Hello,
Consider the following code:
program NoErrorOnMissingOp;
const
a = 1;
b = 2;
c = 3;
{$if
(a <> 1)
(b <> 0) or
(c <> 3)
}
{$MESSAGE 'a message here'}
{$endif}
var
v : integer;
begin
v := a + b + c;
readln;
end.
Note the missing operator ("or" in this case) on line 9. The compiler does not emit a message about the missing operator. Of course, as a result, the expression does not work as expected, i.e, no message is displayed.
It would have been nice for the compiler to emit some sort of message about a "likely" missing operator.