Le mar. 13 sept. 2022, 15:10, Oleg Nesterov <o...@redhat.com> a écrit :

> On 09/13, Yann Orlarey wrote:
> >
> > That was fast ;-) The intention was to allow C++ namespace identifiers in
> > foreign functions. But with this minimal extension, C++ namespaces
> > identifiers are also allowed for ordinary identifiers. For a while, I
> > wondered if it should be banned and I admit I don't have a firm opinion
> on
> > the matter,
>
> Neither me.
>
> just I was surprised a bit, to me "::" in .dsp code could be "reserved" for
> some syntax extensions in future... But I don't have a strong opinion.
>
> And Yann, this is purely cosmetic issue but I can't resist ;)
>
> So the last commit 7808dd116f0 ("Allow indentifiers starting with multiple
> '_'")
> does the trick, thanks! But,
>
>         -ID       [a-zA-Z][_a-zA-Z0-9]*
>         +ID       _*[a-zA-Z][_a-zA-Z0-9]*
>
> Why not
>
>         ID       [_a-zA-Z][_a-zA-Z0-9]*
>
> ?
>

That's to avoid underscore+ as valid IDs.

Yann

>
> Oleg.
>
>
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to