Frank Heckenbach wrote:
Russell Whitaker wrote:
minwidth for strings in writeln is broken:
program hello; begin writeln('hello':30, ' ':30, 'world'); end.
The output should be 25 spaces in front of hello and 30 spaces between hello and world.
That's what I get!?
Did you compile with any special options?
Can someone else reproduce the problem?
No, I also get the correct output.
Attached is a diff to add to your p/diffs
Thanks for the diff. I built a compiler with the gcc-3.2.2 back-end; it gave me the same testsuite results as gcc-3.2.1. Unlike gcc-3.2.1, gcc-3.2.2 bootstraps without any patches on Mac OS X. Still, for correct results, I apply the "trampoline" and "longjump" patches.
Regards,
Adriaan van Os