Better documentation / restrictions on enum values for Declaration IDs

Milian Wolff mail at
Mon Jun 14 12:10:53 UTC 2010

On Monday, 14. June 2010 14:07:01 Milian Wolff wrote:
> Hey there,
> I just fixed the first issue that arised due to a clash between two custom
> Declarations that used the same value for the Identity.
> How should we guard ourselves against that? Should we maybe centrally
> document which language has which identity range reserved? So that new
> languages know in which range they should put their declarations?
> In PHP we start with 80, in CPP with 70. I've now made XML start with 90.
> But still, should we maybe increase the distance?

The question that also arises is: If we ever get third-party languages, that 
don't want to publish themselves - what range should they use?

To any other language developer out there: Do you already have custom 
declarations? If so, what range do you use?
Milian Wolff
mail at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the KDevelop-devel mailing list