Better documentation / restrictions on enum values for Declaration IDs
Milian Wolff
mail at milianw.de
Mon Jun 14 21:20:40 UTC 2010
On Monday 14 June 2010 17:14:03 David Nolden wrote:
> 2010/6/14 Milian Wolff <mail at milianw.de>:
> > Ah but looking at it, I see this:
> >
> > UnsureType (KDevplatform) is in the 30's area,
> >
> > PHPs types are in the 50's area
> >
> > Types, Contexts and Declarations are all stored in the same registrator,
> > right? Meaning they must have distinct identities?
>
> Yes, _all_ duchain objects must have distict identities, including
> objects deriving ParsingEnvironmentFile (aka. Cpp::EnvironmentFile).
>
> > What are the limitations for changing the Identities? I expect I'd have
> > to increase the DUChain version so that it gets reparsed to prevent
> > crashes?
>
> Yes the repository version has to be increased. At some point we'll
> have to find a solution here that also works with more or less
> independent plugins.
Where do I increase the version again? I know you once told me but I forgot
and cannot find it now :-S
> > If so I'd restructure _all_ identities and reserve the first 50 (we
> > already have 27) for KDevplatform. Then I'd put the languages there in
> > batches of 10 (or should I increase that already? Cpp has 7, PHP has 8
> > custom Identities already).
>
> Maybe we should simply use ranges of 20, just to be on the safe side.
Will do.
Bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- 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: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100614/cca41551/attachment.sig>
More information about the KDevelop-devel
mailing list