"Eric M. Ludlam" <eric@...> wrote:
>>>> DaveS <davls@...> 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
|