Am 16.11.2017 14:01 schrieb "Mattias Gaertner" <[email protected]>:
On Thu, 16 Nov 2017 11:49:59 +0100 Maciej Izak <[email protected]> wrote: > 2017-11-16 11:39 GMT+01:00 Mattias Gaertner <[email protected]>: > > > 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 - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
