[fpc-pascal] pointer type as procedure arg

Florian Klämpfl florian at freepascal.org
Mon Dec 30 12:06:40 CET 2024



> Am 30.12.2024 um 12:00 schrieb Mattias Gaertner via fpc-pascal <fpc-pascal at lists.freepascal.org>:
> 
> Hi,
> 
> Are anonymous (aka local) pointer types allowed in procedure arguments in any mode?

I am not aware of.

> 
> procedure Run(p: ^word);
> begin
> end;
> 
> I found that the fcl-passrc parser has a test to allow it and I'm wondering if this is by design or a bug.
> 
> Mattias
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> 


More information about the fpc-pascal mailing list