Re: [fpc-pascal] pointer type as procedure arg

2024-12-30 Thread Florian Klämpfl via fpc-pascal
> Am 30.12.2024 um 12:00 schrieb Mattias Gaertner via fpc-pascal > : > > 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

[fpc-pascal] pointer type as procedure arg

2024-12-30 Thread Mattias Gaertner via fpc-pascal
Hi, Are anonymous (aka local) pointer types allowed in procedure arguments in any mode? 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