comparison lisp/cedet/semantic/tag-file.el @ 105760:d0906291f75b

* cedet/semantic/fw.el (semantic-alias-obsolete) (semantic-varalias-obsolete): Make the `when' arg mandatory. (define-mode-overload-implementation): * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks): * cedet/semantic/wisent.el (wisent-lex-make-token-table): * cedet/semantic/util.el (semantic-file-token-stream) (semantic-something-to-stream): * cedet/semantic/tag.el (semantic-tag-make-assoc-list) (semantic-expand-nonterminal): * cedet/semantic/tag-file.el (semantic-find-nonterminal) (semantic-find-dependency, semantic-find-nonterminal) (semantic-find-dependency): * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end) (semantic-flex-text, semantic-flex-make-keyword-table) (semantic-flex-keyword-p, semantic-flex-keyword-put) (semantic-flex-keyword-get, semantic-flex-map-keywords) (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list): * cedet/semantic/java.el (semantic-java-prototype-nonterminal): * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks) (semantic-after-idle-scheduler-reparse-hooks): * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks): * cedet/semantic/db-mode.el (semanticdb-mode-hooks): * cedet/semantic.el (semantic-toplevel-bovine-table) (semantic-toplevel-bovine-cache) (semantic-before-toplevel-bovination-hook, semantic-init-hooks) (semantic-init-mode-hooks, semantic-init-db-hooks) (semantic-bovination-working-type): Provide the `when' arg.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 25 Oct 2009 02:55:27 +0000
parents 7f4c7f5c0eba
children 3fe6da4a95a9
comparison
equal deleted inserted replaced
105759:110c55336723 105760:d0906291f75b
101 (re-search-forward (semantic-tag-name tag) nil t))) 101 (re-search-forward (semantic-tag-name tag) nil t)))
102 ) 102 )
103 ) 103 )
104 104
105 (make-obsolete-overload 'semantic-find-nonterminal 105 (make-obsolete-overload 'semantic-find-nonterminal
106 'semantic-go-to-tag) 106 'semantic-go-to-tag "23.2")
107 107
108 ;;; Dependencies 108 ;;; Dependencies
109 ;; 109 ;;
110 ;; A tag which is of type 'include specifies a dependency. 110 ;; A tag which is of type 'include specifies a dependency.
111 ;; Dependencies usually represent a file of some sort. 111 ;; Dependencies usually represent a file of some sort.
175 ;; (semantic--tag-put-property tag 'dependency-file 'none) 175 ;; (semantic--tag-put-property tag 'dependency-file 'none)
176 nil) 176 nil)
177 ))) 177 )))
178 178
179 (make-obsolete-overload 'semantic-find-dependency 179 (make-obsolete-overload 'semantic-find-dependency
180 'semantic-dependency-tag-file) 180 'semantic-dependency-tag-file "23.2")
181 181
182 ;;; PROTOTYPE FILE 182 ;;; PROTOTYPE FILE
183 ;; 183 ;;
184 ;; In C, a function in the .c file often has a representation in a 184 ;; In C, a function in the .c file often has a representation in a
185 ;; corresponding .h file. This routine attempts to find the 185 ;; corresponding .h file. This routine attempts to find the
201 (set-buffer buffer) 201 (set-buffer buffer)
202 (if (re-search-forward "::Header:: \\([a-zA-Z0-9.]+\\)" nil t) 202 (if (re-search-forward "::Header:: \\([a-zA-Z0-9.]+\\)" nil t)
203 (match-string 1)))))) 203 (match-string 1))))))
204 204
205 (semantic-alias-obsolete 'semantic-find-nonterminal 205 (semantic-alias-obsolete 'semantic-find-nonterminal
206 'semantic-go-to-tag) 206 'semantic-go-to-tag "23.2")
207 207
208 (semantic-alias-obsolete 'semantic-find-dependency 208 (semantic-alias-obsolete 'semantic-find-dependency
209 'semantic-dependency-tag-file) 209 'semantic-dependency-tag-file "23.2")
210 210
211 211
212 (provide 'semantic/tag-file) 212 (provide 'semantic/tag-file)
213 213
214 ;; Local variables: 214 ;; Local variables: