<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Martin Wynne via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Do., 8. Feb. 2024, 22:03:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Thomas,<br>
<br>
The error is not the file content after "end.".<br>
<br>
The error is not having the expected "end;" after "begin".<br>
<br>
This works ok:<br>
<br>
_________________________<br>
<br>
program test;<br>
<br>
begin<br>
end;<br>
<br>
end.<br>
<br>
abc 123<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">If that works then that is a bug as well, because the begin of the main *must* be terminated with a "end.", not a "end;". </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>