mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* cedet/semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
This commit is contained in:
parent
c79fc059c9
commit
ca7c89d8f5
2 changed files with 9 additions and 8 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2010-11-01 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
|
||||
|
||||
* semantic/symref/cscope.el (ede-toplevel):
|
||||
* semantic/symref.el (ede-toplevel):
|
||||
* semantic/tag-file.el (ede-toplevel):
|
||||
|
|
|
|||
|
|
@ -1002,6 +1002,13 @@ if something is a constructor. Value should be:
|
|||
where typename is the name of the type, and typeoftype is \"class\"
|
||||
or \"struct\".")
|
||||
|
||||
(define-mode-local-override semantic-analyze-split-name c-mode (name)
|
||||
"Split up tag names on colon (:) boundaries."
|
||||
(let ((ans (split-string name ":")))
|
||||
(if (= (length ans) 1)
|
||||
name
|
||||
(delete "" ans))))
|
||||
|
||||
(defun semantic-c-reconstitute-token (tokenpart declmods typedecl)
|
||||
"Reconstitute a token TOKENPART with DECLMODS and TYPEDECL.
|
||||
This is so we don't have to match the same starting text several times.
|
||||
|
|
@ -1559,13 +1566,6 @@ These are constants which are of type TYPE."
|
|||
(string= (semantic-tag-type type) "enum"))
|
||||
(semantic-tag-type-members type)))
|
||||
|
||||
(define-mode-local-override semantic-analyze-split-name c-mode (name)
|
||||
"Split up tag names on colon (:) boundaries."
|
||||
(let ((ans (split-string name ":")))
|
||||
(if (= (length ans) 1)
|
||||
name
|
||||
(delete "" ans))))
|
||||
|
||||
(define-mode-local-override semantic-analyze-unsplit-name c-mode (namelist)
|
||||
"Assemble the list of names NAMELIST into a namespace name."
|
||||
(mapconcat 'identity namelist "::"))
|
||||
|
|
@ -1871,5 +1871,4 @@ For types with a :parent, create faux namespaces to put TAG into."
|
|||
;; generated-autoload-load-name: "semantic/bovine/c"
|
||||
;; End:
|
||||
|
||||
;; arch-tag: 263951a8-0f18-445d-8e73-eb8f9ac8e2a3
|
||||
;;; semantic/bovine/c.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue