aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet/semantic
diff options
context:
space:
mode:
authorChong Yidong2009-08-30 21:16:39 +0000
committerChong Yidong2009-08-30 21:16:39 +0000
commitaa8724aeadb56751cb464fd5ebbf5f2e631fd3fa (patch)
treea3f4e2cd8ee9249f924d413e7c38e21a4a0bc204 /lisp/cedet/semantic
parentec0528188392b677b63aec579e5ef456e025b9b5 (diff)
downloademacs-aa8724aeadb56751cb464fd5ebbf5f2e631fd3fa.tar.gz
emacs-aa8724aeadb56751cb464fd5ebbf5f2e631fd3fa.zip
cedet/cedet.el (cedet-packages): Bump srecode version.
cedet/data-debug.el: Require `ring' for use of ring-length. cedet/semantic.el (semantic-repeat-parse-whole-stream): Check semantic-working-type before updating progress reporter. cedet/semantic/adebug.el: Fix file header. cedet/semantic/analyze.el: eval-when-compile semantic/find, for semantic-find-tags-by-name. Declare semanticdb-strip-find-results and semanticdb-find-tags-by-name. cedet/semantic/chart.el: Require semantic/find, semantic/db-mode, semantic/db-typecache, and semantic/scope. cedet/semantic/complete.el: Declare semantic-displayor-focus-abstract-child-p function (needed as the semantic-displayor-focus-abstract class is defined only after used). Move semantic-complete-inline-custom-type and semantic-complete-inline-analyzer-displayor-class variable definitions up, before they are used, to avoid compiler warning. Require semantic/decorate, semantic/tag-file, eieio-opt, and semantic/analyze/complete. cedet/semantic/ctxt.el: Require semantic/find. Don't eval-when-compile semantic/db (semantic-get-local-variables): Use Emacs' built-in progress reporter instead of working-status-forms. cedet/semantic/db-debug.el: Require data-debug, semantic/db-mode, and semantic/format. cedet/semantic/db-ebrowse.el: Require semantic/db-mode, semantic/find, semantic/sort, data-debug (semanticdb-create-database): Require semantic/dep for semantic-add-system-include. (semanticdb-table-ebrowse, semanticdb-project-database-ebrowse): Move class definitions near top of file, before they are used, to avoid compiler warnings. (semanticdb-ebrowse-add-tree-to-table): Use split-string.
Diffstat (limited to 'lisp/cedet/semantic')
-rw-r--r--lisp/cedet/semantic/adebug.el4
-rw-r--r--lisp/cedet/semantic/analyze.el19
-rw-r--r--lisp/cedet/semantic/chart.el10
-rw-r--r--lisp/cedet/semantic/complete.el68
-rw-r--r--lisp/cedet/semantic/ctxt.el25
-rw-r--r--lisp/cedet/semantic/db-debug.el8
-rw-r--r--lisp/cedet/semantic/db-ebrowse.el82
-rw-r--r--lisp/cedet/semantic/db-find.el4
-rw-r--r--lisp/cedet/semantic/tag.el2
-rw-r--r--lisp/cedet/semantic/texi.el5
10 files changed, 127 insertions, 100 deletions
diff --git a/lisp/cedet/semantic/adebug.el b/lisp/cedet/semantic/adebug.el
index fe8e71b82e8..7756ffb93d7 100644
--- a/lisp/cedet/semantic/adebug.el
+++ b/lisp/cedet/semantic/adebug.el
@@ -1,4 +1,4 @@
1;;; adebug.el --- Semantic Application Debugger 1;;; semantic/adebug.el --- Semantic Application Debugger
2 2
3;;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. 3;;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
4 4
@@ -420,4 +420,4 @@ Optional argument CTXT is the context to show."
420 420
421(provide 'semantic/adebug) 421(provide 'semantic/adebug)
422 422
423;;; semantic-adebug.el ends here 423;;; semantic/adebug.el ends here
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el
index 7c47ba0877c..c55186b3b05 100644
--- a/lisp/cedet/semantic/analyze.el
+++ b/lisp/cedet/semantic/analyze.el
@@ -1,4 +1,4 @@
1;;; analyze.el --- Analyze semantic tags against local context 1;;; semantic/analyze.el --- Analyze semantic tags against local context
2 2
3;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 3;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009
4;;; Free Software Foundation, Inc. 4;;; Free Software Foundation, Inc.
@@ -65,19 +65,19 @@
65;; other possible completions. 65;; other possible completions.
66;; 66;;
67(require 'eieio) 67(require 'eieio)
68;; (require 'inversion)
69;; (eval-and-compile
70;; (inversion-require 'eieio "1.0"))
71(require 'semantic) 68(require 'semantic)
72(require 'semantic/format) 69(require 'semantic/format)
73(require 'semantic/ctxt) 70(require 'semantic/ctxt)
74(require 'semantic/sort) 71(require 'semantic/sort)
75(eval-when-compile (require 'semantic/db) 72(eval-when-compile (require 'semantic/find))
76 (require 'semantic/db-find))
77
78(require 'semantic/scope) 73(require 'semantic/scope)
79(require 'semantic/analyze/fcn) 74(require 'semantic/analyze/fcn)
80 75
76;; `semanticdb-typecache-find' autoloads from semantic/db-typecache,
77;; which requires semantic/db-find.
78(declare-function semanticdb-strip-find-results "semantic/db-find")
79(declare-function semanticdb-find-tags-by-name "semantic/db-find")
80
81;;; Code: 81;;; Code:
82(defvar semantic-analyze-error-stack nil 82(defvar semantic-analyze-error-stack nil
83 "Collection of any errors thrown during analysis.") 83 "Collection of any errors thrown during analysis.")
@@ -684,8 +684,11 @@ Returns an object based on symbol `semantic-analyze-context'."
684;; 684;;
685;; Friendly output of a context analysis. 685;; Friendly output of a context analysis.
686;; 686;;
687(declare-function pulse-momentary-highlight-region "pulse")
688
687(defmethod semantic-analyze-pulse ((context semantic-analyze-context)) 689(defmethod semantic-analyze-pulse ((context semantic-analyze-context))
688 "Pulse the region that CONTEXT affects." 690 "Pulse the region that CONTEXT affects."
691 (require 'pulse)
689 (save-excursion 692 (save-excursion
690 (set-buffer (oref context :buffer)) 693 (set-buffer (oref context :buffer))
691 (let ((bounds (oref context :bounds))) 694 (let ((bounds (oref context :bounds)))
@@ -766,4 +769,4 @@ CONTEXT's content is described in `semantic-analyze-current-context'."
766 769
767(provide 'semantic/analyze) 770(provide 'semantic/analyze)
768 771
769;;; semantic-analyze.el ends here 772;;; semantic/analyze.el ends here
diff --git a/lisp/cedet/semantic/chart.el b/lisp/cedet/semantic/chart.el
index 95c60a51365..124227d7782 100644
--- a/lisp/cedet/semantic/chart.el
+++ b/lisp/cedet/semantic/chart.el
@@ -1,4 +1,4 @@
1;;; chart.el --- Utilities for use with semantic tag tables 1;;; semantic/chart.el --- Utilities for use with semantic tag tables
2 2
3;;; Copyright (C) 1999, 2000, 2001, 2003, 2005, 2008, 2009 3;;; Copyright (C) 1999, 2000, 2001, 2003, 2005, 2008, 2009
4;;; Free Software Foundation, Inc. 4;;; Free Software Foundation, Inc.
@@ -26,8 +26,12 @@
26;; the output of the semantic parser. 26;; the output of the semantic parser.
27;; 27;;
28 28
29(require 'semantic)
30(require 'chart) 29(require 'chart)
30(require 'semantic)
31(require 'semantic/find)
32(require 'semantic/db-mode)
33(require 'semantic/db-typecache)
34(require 'semantic/scope)
31 35
32;;; Code: 36;;; Code:
33 37
@@ -164,4 +168,4 @@ items are charted. TAGTABLE is passedto
164 168
165(provide 'semantic/chart) 169(provide 'semantic/chart)
166 170
167;;; semantic-chart.el ends here 171;;; semantic/chart.el ends here
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el
index d1367e30b7d..c721d42c888 100644
--- a/lisp/cedet/semantic/complete.el
+++ b/lisp/cedet/semantic/complete.el
@@ -1,4 +1,4 @@
1;;; complete.el --- Routines for performing tag completion 1;;; semantic/complete.el --- Routines for performing tag completion
2 2
3;;; Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009 3;;; Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009
4;;; Free Software Foundation, Inc. 4;;; Free Software Foundation, Inc.
@@ -108,15 +108,19 @@
108;; a buffer. 108;; a buffer.
109 109
110(require 'eieio) 110(require 'eieio)
111(require 'semantic/tag) 111(require 'eieio-opt)
112(require 'semantic/tag-file)
112(require 'semantic/find) 113(require 'semantic/find)
113(require 'semantic/analyze) 114(require 'semantic/analyze)
114(require 'semantic/format) 115(require 'semantic/format)
115(require 'semantic/ctxt) 116(require 'semantic/ctxt)
116;; Keep semanticdb optional. 117;; Keep semanticdb optional.
117(eval-when-compile 118;; (eval-when-compile
118 (require 'semantic/db) 119;; (require 'semantic/db)
119 (require 'semantic/db-find)) 120;; (require 'semantic/db-find))
121(require 'semantic/decorate)
122(require 'semantic/analyze/complete)
123
120 124
121(eval-when-compile 125(eval-when-compile
122 (condition-case nil 126 (condition-case nil
@@ -325,6 +329,11 @@ HISTORY is a symbol representing a variable to story the history in."
325(defvar semantic-complete-current-matched-tag nil 329(defvar semantic-complete-current-matched-tag nil
326 "Variable used to pass the tags being matched to the prompt.") 330 "Variable used to pass the tags being matched to the prompt.")
327 331
332;; semantic-displayor-focus-abstract-child-p is part of the
333;; semantic-displayor-focus-abstract class, defined later in this
334;; file.
335(declare-function semantic-displayor-focus-abstract-child-p "semantic/complete")
336
328(defun semantic-complete-current-match () 337(defun semantic-complete-current-match ()
329 "Calculate a match from the current completion environment. 338 "Calculate a match from the current completion environment.
330Save this in our completion variable. Make sure that variable 339Save this in our completion variable. Make sure that variable
@@ -1759,6 +1768,29 @@ completion text in ghost text."
1759;;; ------------------------------------------------------------ 1768;;; ------------------------------------------------------------
1760;;; Specific queries 1769;;; Specific queries
1761;; 1770;;
1771(defvar semantic-complete-inline-custom-type
1772 (append '(radio)
1773 (mapcar
1774 (lambda (class)
1775 (let* ((C (intern (car class)))
1776 (doc (documentation-property C 'variable-documentation))
1777 (doc1 (car (split-string doc "\n")))
1778 )
1779 (list 'const
1780 :tag doc1
1781 C)))
1782 (eieio-build-class-alist semantic-displayor-abstract t))
1783 )
1784 "Possible options for inlince completion displayors.
1785Use this to enable custom editing.")
1786
1787(defcustom semantic-complete-inline-analyzer-displayor-class
1788 'semantic-displayor-traditional
1789 "*Class for displayor to use with inline completion."
1790 :group 'semantic
1791 :type semantic-complete-inline-custom-type
1792 )
1793
1762(defun semantic-complete-read-tag-buffer-deep (prompt &optional 1794(defun semantic-complete-read-tag-buffer-deep (prompt &optional
1763 default-tag 1795 default-tag
1764 initial-input 1796 initial-input
@@ -1885,30 +1917,6 @@ prompts. these are calculated from the CONTEXT variable passed in."
1885 inp 1917 inp
1886 history))) 1918 history)))
1887 1919
1888(defvar semantic-complete-inline-custom-type
1889 (append '(radio)
1890 (mapcar
1891 (lambda (class)
1892 (let* ((C (intern (car class)))
1893 (doc (documentation-property C 'variable-documentation))
1894 (doc1 (car (split-string doc "\n")))
1895 )
1896 (list 'const
1897 :tag doc1
1898 C)))
1899 (eieio-build-class-alist semantic-displayor-abstract t))
1900 )
1901 "Possible options for inlince completion displayors.
1902Use this to enable custom editing.")
1903
1904(defcustom semantic-complete-inline-analyzer-displayor-class
1905 'semantic-displayor-traditional
1906 "*Class for displayor to use with inline completion."
1907 :group 'semantic
1908 :type semantic-complete-inline-custom-type
1909 )
1910
1911
1912(defun semantic-complete-inline-analyzer (context) 1920(defun semantic-complete-inline-analyzer (context)
1913 "Complete a symbol name by name based on the current context. 1921 "Complete a symbol name by name based on the current context.
1914This is similar to `semantic-complete-read-tag-analyze', except 1922This is similar to `semantic-complete-read-tag-analyze', except
@@ -2125,4 +2133,4 @@ use `semantic-complete-analyze-inline' to complete."
2125;; End 2133;; End
2126(provide 'semantic/complete) 2134(provide 'semantic/complete)
2127 2135
2128;;; semantic-complete.el ends here 2136;;; semantic/complete.el ends here
diff --git a/lisp/cedet/semantic/ctxt.el b/lisp/cedet/semantic/ctxt.el
index 270b9964031..40da8153aec 100644
--- a/lisp/cedet/semantic/ctxt.el
+++ b/lisp/cedet/semantic/ctxt.el
@@ -1,4 +1,4 @@
1;;; ctxt.el --- Context calculations for Semantic tools. 1;;; semantic/ctxt.el --- Context calculations for Semantic tools.
2 2
3;;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 3;;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4;;; 2007, 2008, 2009 Free Software Foundation, Inc. 4;;; 2007, 2008, 2009 Free Software Foundation, Inc.
@@ -31,7 +31,7 @@
31;; the current context is calculated. 31;; the current context is calculated.
32;; 32;;
33(require 'semantic) 33(require 'semantic)
34(eval-when-compile (require 'semantic/db)) 34(require 'semantic/find)
35 35
36;;; Code: 36;;; Code:
37(defvar semantic-command-separation-character 37(defvar semantic-command-separation-character
@@ -155,16 +155,15 @@ Return non-nil if there is no upper context."
155Local variables are returned in Semantic tag format. 155Local variables are returned in Semantic tag format.
156This can be overriden with `get-local-variables'." 156This can be overriden with `get-local-variables'."
157 ;; The working status is to let the parser work properly 157 ;; The working status is to let the parser work properly
158 (working-status-forms 158 (let ((semantic--progress-reporter
159 (semantic-parser-working-message "Local") 159 (make-progress-reporter (semantic-parser-working-message "Local")
160 "done" 160 0 100)))
161 (save-excursion 161 (save-excursion
162 (if point (goto-char point)) 162 (if point (goto-char point))
163 (let* ((semantic-working-type nil) 163 (let* ((semantic-working-type nil)
164 ;; Disable parsing messages 164 ;; Disable parsing messages
165 (working-status-dynamic-type nil) 165 (case-fold-search semantic-case-fold))
166 (case-fold-search semantic-case-fold)) 166 (:override-with-args ())))))
167 (:override-with-args ())))))
168 167
169(defun semantic-get-local-variables-default () 168(defun semantic-get-local-variables-default ()
170 "Get local values from a specific context. 169 "Get local values from a specific context.
@@ -610,4 +609,4 @@ overriden."
610 609
611(provide 'semantic/ctxt) 610(provide 'semantic/ctxt)
612 611
613;;; semantic-ctxt.el ends here 612;;; semantic/ctxt.el ends here
diff --git a/lisp/cedet/semantic/db-debug.el b/lisp/cedet/semantic/db-debug.el
index 6db1cbfaae9..52ae605f6a0 100644
--- a/lisp/cedet/semantic/db-debug.el
+++ b/lisp/cedet/semantic/db-debug.el
@@ -1,4 +1,4 @@
1;;; db-debug.el --- Extra level debugging routines for Semantic 1;;; semantic/db-debug.el --- Extra level debugging routines for Semantic
2 2
3;;; Copyright (C) 2008, 2009 Free Software Foundation, Inc. 3;;; Copyright (C) 2008, 2009 Free Software Foundation, Inc.
4 4
@@ -24,7 +24,10 @@
24;; Various routines for debugging SemanticDB issues, or viewing 24;; Various routines for debugging SemanticDB issues, or viewing
25;; semanticdb state. 25;; semanticdb state.
26 26
27(require 'data-debug)
27(require 'semantic/db) 28(require 'semantic/db)
29(require 'semantic/db-mode)
30(require 'semantic/format)
28 31
29;;; Code: 32;;; Code:
30;; 33;;
@@ -105,4 +108,5 @@
105 108
106 109
107(provide 'semantic/db-debug) 110(provide 'semantic/db-debug)
108;;; semanticdb-debug.el ends here 111
112;;; semantic/db-debug.el ends here
diff --git a/lisp/cedet/semantic/db-ebrowse.el b/lisp/cedet/semantic/db-ebrowse.el
index b38e6b0a1ca..96f8285e508 100644
--- a/lisp/cedet/semantic/db-ebrowse.el
+++ b/lisp/cedet/semantic/db-ebrowse.el
@@ -1,4 +1,4 @@
1;;; db-ebrowse.el --- Semanticdb backend using ebrowse. 1;;; semantic/db-ebrowse.el --- Semanticdb backend using ebrowse.
2 2
3;;; Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 3;;; Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4 4
@@ -56,6 +56,12 @@
56 (require 'eieio-opt) 56 (require 'eieio-opt)
57 ) 57 )
58(require 'semantic/db-file) 58(require 'semantic/db-file)
59(require 'semantic/db-mode)
60(require 'semantic/find)
61(require 'semantic/sort)
62(require 'data-debug)
63
64(declare-function semantic-add-system-include "semantic/dep")
59 65
60(eval-and-compile 66(eval-and-compile
61 ;; Hopefully, this will allow semanticdb-ebrowse to compile under 67 ;; Hopefully, this will allow semanticdb-ebrowse to compile under
@@ -77,6 +83,41 @@ be searched."
77 :group 'semanticdb 83 :group 'semanticdb
78 :type 'string) 84 :type 'string)
79 85
86;;; SEMANTIC Database related Code
87;;; Classes:
88(defclass semanticdb-table-ebrowse (semanticdb-table)
89 ((major-mode :initform c++-mode)
90 (ebrowse-tree :initform nil
91 :initarg :ebrowse-tree
92 :documentation
93 "The raw ebrowse tree for this file."
94 )
95 (global-extract :initform nil
96 :initarg :global-extract
97 :documentation
98 "Table of ebrowse tags specific to this file.
99This table is compisited from the ebrowse *Globals* section.")
100 )
101 "A table for returning search results from ebrowse.")
102
103(defclass semanticdb-project-database-ebrowse
104 (semanticdb-project-database)
105 ((new-table-class :initform semanticdb-table-ebrowse
106 :type class
107 :documentation
108 "New tables created for this database are of this class.")
109 (system-include-p :initform nil
110 :initarg :system-include
111 :documentation
112 "Flag indicating this database represents a system include directory.")
113 (ebrowse-struct :initform nil
114 :initarg :ebrowse-struct
115 )
116 )
117 "Semantic Database deriving tags using the EBROWSE tool.
118EBROWSE is a C/C++ parser for use with `ebrowse' Emacs program.")
119
120
80(defun semanticdb-ebrowse-C-file-p (file) 121(defun semanticdb-ebrowse-C-file-p (file)
81 "Is FILE a C or C++ file?" 122 "Is FILE a C or C++ file?"
82 (or (string-match semanticdb-ebrowse-file-match file) 123 (or (string-match semanticdb-ebrowse-file-match file)
@@ -187,40 +228,6 @@ warn instead."
187 (delete-file BFLB)) 228 (delete-file BFLB))
188 ))))) 229 )))))
189 230
190;;; SEMANTIC Database related Code
191;;; Classes:
192(defclass semanticdb-table-ebrowse (semanticdb-table)
193 ((major-mode :initform c++-mode)
194 (ebrowse-tree :initform nil
195 :initarg :ebrowse-tree
196 :documentation
197 "The raw ebrowse tree for this file."
198 )
199 (global-extract :initform nil
200 :initarg :global-extract
201 :documentation
202 "Table of ebrowse tags specific to this file.
203This table is compisited from the ebrowse *Globals* section.")
204 )
205 "A table for returning search results from ebrowse.")
206
207(defclass semanticdb-project-database-ebrowse
208 (semanticdb-project-database)
209 ((new-table-class :initform semanticdb-table-ebrowse
210 :type class
211 :documentation
212 "New tables created for this database are of this class.")
213 (system-include-p :initform nil
214 :initarg :system-include
215 :documentation
216 "Flag indicating this database represents a system include directory.")
217 (ebrowse-struct :initform nil
218 :initarg :ebrowse-struct
219 )
220 )
221 "Semantic Database deriving tags using the EBROWSE tool.
222EBROWSE is a C/C++ parser for use with `ebrowse' Emacs program.")
223
224;JAVE this just instantiates a default empty ebrowse struct? 231;JAVE this just instantiates a default empty ebrowse struct?
225; how would new instances wind up here? 232; how would new instances wind up here?
226; the ebrowse class isnt singleton, unlike the emacs lisp one 233; the ebrowse class isnt singleton, unlike the emacs lisp one
@@ -292,6 +299,7 @@ For instance: /home/<username>/.semanticdb/!usr!include!BROWSE"
292If there is no database for DIRECTORY available, then 299If there is no database for DIRECTORY available, then
293{not implemented yet} create one. Return nil if that is not possible." 300{not implemented yet} create one. Return nil if that is not possible."
294 ;; MAKE SURE THAT THE FILE LOADED DOESN'T ALREADY EXIST. 301 ;; MAKE SURE THAT THE FILE LOADED DOESN'T ALREADY EXIST.
302 (require 'semantic/dep)
295 (let ((dbs semanticdb-database-list) 303 (let ((dbs semanticdb-database-list)
296 (found nil)) 304 (found nil))
297 (while (and (not found) dbs) 305 (while (and (not found) dbs)
@@ -425,7 +433,7 @@ Optional argument BASECLASSES specifyies a baseclass to the tree being provided.
425 (semanticdb-create-table dbe fname))) 433 (semanticdb-create-table dbe fname)))
426 (class (ebrowse-ts-class tree)) 434 (class (ebrowse-ts-class tree))
427 (scope (ebrowse-cs-scope class)) 435 (scope (ebrowse-cs-scope class))
428 (ns (when scope (cedet-split-string scope ":" t))) 436 (ns (when scope (split-string scope ":" t)))
429 (nst nil) 437 (nst nil)
430 (cls nil) 438 (cls nil)
431 ) 439 )
@@ -703,4 +711,4 @@ run the test again..")
703 711
704(provide 'semantic/db-ebrowse) 712(provide 'semantic/db-ebrowse)
705 713
706;;; semanticdb-ebrowse.el ends here 714;;; semantic/db-ebrowse.el ends here
diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el
index fb40d77d3ef..681b7d2066c 100644
--- a/lisp/cedet/semantic/db-find.el
+++ b/lisp/cedet/semantic/db-find.el
@@ -1,4 +1,4 @@
1;;; db-find.el --- Searching through semantic databases. 1;;; semantic/db-find.el --- Searching through semantic databases.
2 2
3;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 3;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4;;; 2008, 2009 Free Software Foundation, Inc. 4;;; 2008, 2009 Free Software Foundation, Inc.
@@ -1350,4 +1350,4 @@ Return a table of all matching tags."
1350 1350
1351(provide 'semantic/db-find) 1351(provide 'semantic/db-find)
1352 1352
1353;;; semanticdb-find.el ends here 1353;;; semantic/db-find.el ends here
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el
index ca4669bc0ea..ed79c11ad7f 100644
--- a/lisp/cedet/semantic/tag.el
+++ b/lisp/cedet/semantic/tag.el
@@ -63,7 +63,7 @@
63(declare-function semantic-format-tag-summarize "semantic/format") 63(declare-function semantic-format-tag-summarize "semantic/format")
64(declare-function semantic-format-tag-name "semantic/format") 64(declare-function semantic-format-tag-name "semantic/format")
65 65
66(defconst semantic-tag-version semantic-version 66(defconst semantic-tag-version "2.0pre7"
67 "Version string of semantic tags made with this code.") 67 "Version string of semantic tags made with this code.")
68 68
69(defconst semantic-tag-incompatible-version "1.0" 69(defconst semantic-tag-incompatible-version "1.0"
diff --git a/lisp/cedet/semantic/texi.el b/lisp/cedet/semantic/texi.el
index 1115ef7e051..798c02f3f18 100644
--- a/lisp/cedet/semantic/texi.el
+++ b/lisp/cedet/semantic/texi.el
@@ -35,9 +35,10 @@
35 (require 'semantic/db) 35 (require 'semantic/db)
36 (require 'semantic/db-find) 36 (require 'semantic/db-find)
37 (require 'semantic/ctxt) 37 (require 'semantic/ctxt)
38 (require 'semantic/imenu) 38;; (require 'semantic/imenu)
39 (require 'semantic/doc) 39 (require 'semantic/doc)
40 (require 'senator)) 40;; (require 'senator)
41)
41 42
42(defvar semantic-texi-super-regex 43(defvar semantic-texi-super-regex
43 "^@\\(top\\|chapter\\|\\(sub\\)*section\\|unnumbered\\(\\(sub\\)*sec\\)?\\|\ 44 "^@\\(top\\|chapter\\|\\(sub\\)*section\\|unnumbered\\(\\(sub\\)*sec\\)?\\|\