<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">Am 16.11.2017 14:01 schrieb "Mattias Gaertner" <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On Thu, 16 Nov 2017 11:49:59 +0100<br>
Maciej Izak <<a href="mailto:hnb.code@gmail.com">hnb.code@gmail.com</a>> wrote:<br>
<br>
> 2017-11-16 11:39 GMT+01:00 Mattias Gaertner <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<br>
><br>
> > What $modes support this?<br>
> > The reason I ask is I'm trying to distinguish them from Delphi<br>
> > Attributes in pparser.<br>
> ><br>
><br>
> for Delphi like attributes FPC will have new modeswitch "prefixedattributes" .<br>
> The implicit usage for $prefixedattributes  in DELPHI/DELPHIUNICODE mode is<br>
> not decided yet (but IMO this is probable scenario).<br>
<br>
</div>Good to know. Thanks.<br>
<br>
So, how will FPC distinguish the two []?</blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">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). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven</div><div dir="auto"></div></div>