[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for Dlang support] d: remove the default prefix for
From: |
Akim Demaille |
Subject: |
Re: [PATCH for Dlang support] d: remove the default prefix for |
Date: |
Fri, 2 Oct 2020 06:44:07 +0200 |
Hi Adela,
> Le 1 oct. 2020 à 19:05, Adela Vais <adela.vais99@gmail.com> a écrit :
>
> SymbolKind's enum elements
>
> * data/skeletons/d.m4: Remove the default prefix.
> * doc/bison.text: Document it.
Thanks, installed!
Note that on second thought, I might have given you an ill advice.
Now that I read again the documentation, I see that part which, I
believe, applies to D too:
The empty prefix is (generally) invalid:
[...]
even in languages with scoped enumerations such as Java, an empty prefix is
dangerous: symbol names may collide with the target language keywords, or
with other members of the @code{SymbolKind} class.