Am 16.11.2017 14:01 schrieb "Mattias Gaertner" <nc-gaert...@netcologne.de>:

On Thu, 16 Nov 2017 11:49:59 +0100
Maciej Izak <hnb.c...@gmail.com> wrote:

> 2017-11-16 11:39 GMT+01:00 Mattias Gaertner <nc-gaert...@netcologne.de>:
>
> > What $modes support this?
> > The reason I ask is I'm trying to distinguish them from Delphi
> > Attributes in pparser.
> >
>
> for Delphi like attributes FPC will have new modeswitch
"prefixedattributes" .
> The implicit usage for $prefixedattributes  in DELPHI/DELPHIUNICODE mode
is
> not decided yet (but IMO this is probable scenario).

Good to know. Thanks.

So, how will FPC distinguish the two []?


The only idea I have is to check whether the first identifier is a
attribute and if not handle it as a modifier (or if a comma is following
the first identifier).

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

Reply via email to