[fpc-pascal] TP compatibility: procedural type
Marco van de Voort
marcov at stack.nl
Sun Sep 3 14:02:44 CEST 2017
In our previous episode, Anton Shepelev said:
> Thank you and others for your explanations. I have
> a related question which seems unworthy of a new
> thread. I can't compile this program with -Miso:
>
> Program Test;
> var object: integer;
> begin
> end.
>
> Free Pascal tells me that
>
> test.pas(2,5) Fatal: Syntax error, "identifier"
> expected but "OBJECT" found.
Works fine here with 3.0.0 and trunk with -Miso (I tested by issuing fpc -Miso test.pp
on copy and paste code above)
Afaik hiding reserved words was a 3.x feature, so it might not work with
older versions.
More information about the fpc-pascal
mailing list