[CEDET-devel] Massive rename of tag attributes (was Analyze your Lisp)
Brought to you by:
zappo
From: David P. <dav...@wa...> - 2004-03-10 20:04:28
|
Hi Eric, [...] >> >>>I think it would be better to do the conversion before a full 1.0 >>>release since we are already changing every other API around. >> >>OK. I did a quick search in semantic-tag.el and it seems that the >>only attribute names that aren't (yet) prefixed by a colon are: >> >>typemodifiers >>throws >>parent >>destructor >>const >> [...] > The C code also has: > > constructor > pointer > reentrant > methodconst > prototype > pure-virtual > > some of which could also be -flag'ed. [...] I did the job! I prefixed all tag attributes I found with a colon, and suffixed boolean type ones with -flag. So now the tag attribute naming convention is consistent :-) Here is a summary of tag attributes which have been renamed: const :constant-flag constructor :constructor-flag dereference :dereference destructor :destructor-flag functionpointer :functionpointer-flag lexical-analyzer :lexical-analyzer-flag methodconst :methodconst-flag override-function :override-function-flag override-variable :override-variable-flag parent :parent pointer :pointer protection :protection prototype :prototype-flag pure-virtual :pure-virtual-flag reentrant :reentrant-flag reference :reference static :static-flag suffix :suffix template :template template-specifier :template-specifier throws :throws tree :tree typedef :typedef typemodifier :typemodifier user-visible :user-visible-flag I hope I that semantic is not broken now ;-) However following that big change it is necessary to do a clean build of semantic (the simplest is "cd <cedet-dir>; make clean-all; make"). Enjoy! David P.S.: Probably the manuals need to be updated too. |