[fpc-pascal] "Unexpected end of file" when having an open comment after the final "end."

Martin Wynne martin at 85a.uk
Thu Feb 8 20:01:17 CET 2024


Hi Thomas,

The error is not the file content after "end.".

The error is not having the expected "end;" after "begin".

This works ok:

_________________________

program test;

begin
end;

end.

abc 123

_________________________

Martin.


More information about the fpc-pascal mailing list