[cedet-semantic] Re: how to override semantic-tag-abstract
Brought to you by:
zappo
From: DaveS <da...@te...> - 2003-11-18 07:18:25
|
"Eric M. Ludlam" <er...@si...> wrote: >>>> DaveS <da...@te...> seems to think that: >>I need to get semantic to recognize a new symbol as a synonym for >>abstract. The documentation for semantic-tag-abstract says this can be >>done by overriding tag-abstract, but semantic-tag-abstract is a defun so >>I'm not sure how this would work. > > The 'define-overload' macro is a convenience feature that writes a > block of code. If the code isn't quite right, you can create your > own with 'defun' instead which is true for `semantic-tag-abstract'. > > `semantic-tag-abstract' couldn't use the default because it has two > overload symbols. The current one, and a backwards compatible one. > Ahhh. I see it now. Looking at the code for semantic-tag-abstract, things are becoming clear. I had associated some mystical voodoo to define-overload and expected that it had to be used to setup overloads. Thanx for the help. -- DS |