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.

 
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to