Hi Eric,
[...]
>>It seems to me that the dot parser works well. However it looks like
>>an overrode `semantic-tag-components' is missing to correctly define
>>overlays in child tags.
>
>
> I will investigate when I next synchronize.
[...]
Following is a patch that solves the above overlay issue.
Does it look good for you?
David
2004-01-26 David Ponce <david@...>
* cedet/cogre/wisent-dot.el
(semantic-tag-components): New override for `graphviz-dot-mode'.
Index: cogre/wisent-dot.el
===================================================================
RCS file: /cvsroot/cedet/cedet/cogre/wisent-dot.el,v
retrieving revision 1.6
diff -c -r1.6 wisent-dot.el
*** cogre/wisent-dot.el 23 Jan 2004 14:58:08 -0000 1.6
--- cogre/wisent-dot.el 26 Jan 2004 09:59:19 -0000
***************
*** 59,64 ****
--- 59,77 ----
(require 'semantic)
(require 'wisent-dot-wy)
+ (define-mode-overload-implementation semantic-tag-components
+ graphviz-dot-mode (tag)
+ "Return the children of tag TAG."
+ (cond
+ ((memq (semantic-tag-class tag)
+ '(generic-node graph-attributes node link))
+ (semantic-tag-get-attribute tag :attributes)
+ )
+ ((memq (semantic-tag-class tag)
+ '(digraph graph))
+ (semantic-tag-get-attribute tag :members)
+ )))
+
;;;###autoload
(defun wisent-dot-setup-parser ()
"Setup buffer for parse."
|