Function: semantic--tag-similar-names-p-default
semantic--tag-similar-names-p-default is a byte-compiled function
defined in tag-ls.el.gz.
Signature
(semantic--tag-similar-names-p-default TAG1 TAG2 BLANKOK)
Documentation
Compare the names of TAG1 and TAG2.
If BLANKOK is false, then the names must exactly match. If BLANKOK is true, then if either of TAG1 or TAG2 has blank names, then that is ok, and this returns true, but if they both have values, they must still match.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag-ls.el.gz
(defun semantic--tag-similar-names-p-default (tag1 tag2 blankok)
"Compare the names of TAG1 and TAG2.
If BLANKOK is false, then the names must exactly match.
If BLANKOK is true, then if either of TAG1 or TAG2 has blank
names, then that is ok, and this returns true, but if they both
have values, they must still match."
(let ((n1 (semantic-tag-name tag1))
(n2 (semantic-tag-name tag2)))
(or (and blankok (or (null n1) (null n2) (string= n1 "") (string= n2 "")))
(string= n1 n2))))