Hi
Found a rather trivial bug, shown here as { { }, the original was a typo: { ) { }.
( so I need new glasses ).
program bug; begin { this writeln("OK"); exit; { is a bug } writeln("fail"); end.
Russ
p.s. built gpc with gcc-3.3.5, no errors in test suite. good.
Russell Whitaker wrote:
Found a rather trivial bug, shown here as { { }, the original was a typo: { ) { }.
It's not a bug, but what standard Pascal prescribes (and incidentally also BP's behaviour, except for the "" -> '').
If you want it otherwise, you can use `{$nested-comments}', but that's non-standard then.
Frank