[fpc-devel] trash after program end. => no warning, no error
Martin
fpc at mfriebe.de
Wed Apr 27 20:01:02 CEST 2011
Is that intended?
If you have anything following after the final "end." (with a dot), then
it is silently ignore, no error, no warning.
>>>>>Start
program Project1;
begin
end.
xxx
<<<<<<End
Will compile just fine, besides the 'xxx'.
I did put by accident the "export" section of a library there. Took me
ages to figure out why it wasn't working.
Martin
More information about the fpc-devel
mailing list