Re: pointer type as procedure arg

Florian Klämpfl via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>

> Am 30.12.2024 um 12:00 schrieb Mattias Gaertner via fpc-pascal <[email protected]>:
> 
> 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  -  [email protected]
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> 
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.