On Thu, 6 Aug 2020 at 07:40, Derick Rethans <der...@php.net> wrote:

> On Wed, 5 Aug 2020, Rowan Tommins wrote:
> > The confusing thing about this argument is that as soon as they have
> > arguments, attributes will have an ending delimiter _whatever_ syntax
> > we choose, because nobody has ever proposed removing the parentheses
> > around the arguments.
>
> The syntax that would start it (@@) is not the same, or related to the
> parenthesis that follow the attribut name ( () ). They are not linked,
> as the ( in () is opening a 'context' and the ) in )) is closing it
> again. This is not the ending syntax of '@@'.
>



I'm sorry, I don't understand what you mean here. Are you saying that there
is some practical difference - for parsers, for human readers, or something
else - between the grammars below?

"@@", attribute-name, "(", expression-list, ")"

vs

"@(", attribute-name, "(", expression-list, "))"


Regards,
-- 
Rowan Tommins
[IMSoP]

Reply via email to