Re: [PATCH for Dlang support] d: remove the default prefix for
Akim Demaille <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.patches |
|---|---|
| Message-ID | <[email protected]> |
Hi Adela, > Le 1 oct. 2020 à 19:05, Adela Vais <[email protected]> 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.