Mercurial > emacs
comparison lisp/cedet/semantic/find.el @ 104489:25e047f7f6a2
Synch to Eric Ludlam's upstream CEDET repository.
* cedet/semantic/wisent/java-tags.el:
* cedet/semantic/wisent/javat-wy.el: New files.
* cedet/semantic/wisent/java.el:
* cedet/semantic/wisent/java-wy.el: Files removed.
* cedet/semantic/java.el (semantic-java-prototype-function)
(semantic-java-prototype-variable, semantic-java-prototype-type):
Doc fix
(java-mode::semantic-format-tag-prototype): Renamed from
semantic-format-prototype-tag, which didn't match the overloadable
function.
* cedet/semantic/bovine/c.el (semantic-c-dereference-namespace-alias):
Deal correctly with nested namespaces. Make sure type actually
exists in original namespace.
* cedet/semantic/lex-spp.el (semantic-lex-spp-hack-depth): New.
(semantic-lex-spp-lex-text-string): Use above to enable recursion.
* cedet/semantic/format.el: Whitespace cleanup.
(semantic-test-all-format-tag-functions): Move to end.
(semantic-format-tag-prototype, semantic-format-tag-name)
(semantic-format-tag-name-default): Revert to original upstream
positions.
* cedet/semantic/elp.el: File removed.
* cedet/semantic/analyze.el (semantic-adebug-analyze): New
function, moved here from semantic/adebug.
* cedet/semantic/adebug.el: Declare external semanticdb functions.
(semantic-adebug-analyze, semantic-adebug-edebug-expr): Deleted.
* emacs-lisp/eieio.el (eieio-unbound): Default value is now robust
to recompile.
* emacs-lisp/eieio-datadebug.el: Add eieio objects to the list of
data debug things to recognize.
* emacs-lisp/eieio-comp.el: Synch to upstream.
* cedet/data-debug.el: Don't require eieio and semantic/tag.
If eieio is loaded, require eieio-datadebug.
(data-debug-insert-ring-button): Do not be specific about the ring
contents.
(data-debug-thing-alist): Remove eieio and semantic specific
entries.
(data-debug-add-specialized-thing): New function.
* cedet/cedet.el: Update commentary.
* cedet/cedet-edebug.el: Require edebug and debug.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 13 Sep 2009 15:58:30 +0000 |
parents | 273e528a9f9b |
children | bbd7017a25d9 |
comparison
equal
deleted
inserted
replaced
104488:7042156f9f43 | 104489:25e047f7f6a2 |
---|---|
51 | 51 |
52 ;;; Overlay Search Routines | 52 ;;; Overlay Search Routines |
53 ;; | 53 ;; |
54 ;; These routines provide fast access to tokens based on a buffer that | 54 ;; These routines provide fast access to tokens based on a buffer that |
55 ;; has parsed tokens in it. Uses overlays to perform the hard work. | 55 ;; has parsed tokens in it. Uses overlays to perform the hard work. |
56 | 56 ;; |
57 ;;;###autoload | 57 ;;;###autoload |
58 (defun semantic-find-tag-by-overlay (&optional positionormarker buffer) | 58 (defun semantic-find-tag-by-overlay (&optional positionormarker buffer) |
59 "Find all tags covering POSITIONORMARKER by using overlays. | 59 "Find all tags covering POSITIONORMARKER by using overlays. |
60 If POSITIONORMARKER is nil, use the current point. | 60 If POSITIONORMARKER is nil, use the current point. |
61 Optional BUFFER is used if POSITIONORMARKER is a number, otherwise the current | 61 Optional BUFFER is used if POSITIONORMARKER is a number, otherwise the current |
255 (setq result (cons (car tags) result))) | 255 (setq result (cons (car tags) result))) |
256 (setq tags (cdr tags))) | 256 (setq tags (cdr tags))) |
257 (nreverse result))) | 257 (nreverse result))) |
258 | 258 |
259 ;;; Top level Searches | 259 ;;; Top level Searches |
260 | 260 ;; |
261 ;;;###autoload | 261 ;;;###autoload |
262 (defun semantic-find-first-tag-by-name (name &optional table) | 262 (defun semantic-find-first-tag-by-name (name &optional table) |
263 "Find the first tag with NAME in TABLE. | 263 "Find the first tag with NAME in TABLE. |
264 NAME is a string. | 264 NAME is a string. |
265 TABLE is a semantic tags table. See `semantic-something-to-tag-table'. | 265 TABLE is a semantic tags table. See `semantic-something-to-tag-table'. |