changeset 111305:eebc5a3ff54b

* cedet/semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
author Glenn Morris <rgm@gnu.org>
date Mon, 01 Nov 2010 00:34:04 -0700
parents 0c36e585b866
children d86b7e0aed88 707be8bc83af
files lisp/cedet/ChangeLog lisp/cedet/semantic/bovine/c.el
diffstat 2 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/ChangeLog	Sun Oct 31 23:44:54 2010 -0700
+++ b/lisp/cedet/ChangeLog	Mon Nov 01 00:34:04 2010 -0700
@@ -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):
--- a/lisp/cedet/semantic/bovine/c.el	Sun Oct 31 23:44:54 2010 -0700
+++ b/lisp/cedet/semantic/bovine/c.el	Mon Nov 01 00:34:04 2010 -0700
@@ -1002,6 +1002,13 @@
 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 @@
 	   (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 @@
 ;; generated-autoload-load-name: "semantic/bovine/c"
 ;; End:
 
-;; arch-tag: 263951a8-0f18-445d-8e73-eb8f9ac8e2a3
 ;;; semantic/bovine/c.el ends here