|
[CEDET-devel] Bug in semantic-c.el with define-mode-local-override definitions
From: Berndl, Klaus <klaus.berndl@sd...> - 2004-09-08 08:17
|
Hi guys,
i think i have detected a serious bug in cedet beta3b...
It seems that the mode-local stuff has been completey redesigned between cedet2b and cedet3b - in semantic-c.el now the macro define-mode-local-override is used, e.g. for semantic-tag-abstract-p. Well, this is not abug but IMHO defining this for c-mode is a bug! Anyway in cedet2b this function works whereas in cedetbeta3b it doesn't:
If point stays onto a virtual method in a c++-header-file then the following code fails in 3b (in 2b it works):
(semantic-tag-abstract-p (semantic-current-tag)
(semantic-current-tag-parent))
Should this overloads not being defined for c++-mode instead of c-mode - or even better for c-common-mode if an override should be used for for all c-modes?! maybe the macro define-mode-local-override (and subsequent stuff from mode-local.el) should be designed to get a list of modes instead exactly one mode?!
Thoughts?
Ciao,
Klaus
|
| Thread | Author | Date |
|---|---|---|
| [CEDET-devel] Bug in semantic-c.el with define-mode-local-override definitions | Berndl, Klaus <klaus.berndl@sd...> |