Mercurial > emacs
comparison lisp/cedet/semantic/imenu.el @ 110827:9814473572d4
Fix errors in CEDET 1.0 merge.
* semantic/tag.el (semantic-tag-version): Bump to 2.0.
* semantic/db-typecache.el (semanticdb-typecache-find-default):
* semantic/imenu.el (semantic-create-imenu-index):
* semantic/grammar.el (semantic--grammar-macro-function-tag):
* semantic/fw.el (semanticdb-without-unloaded-file-searches): Fix
require. Suggested by David Engster.
* semantic/bovine/c-by.el: Regenerate.
* semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
(semantic-lex-spp-enable-debug-symbol): New command
(semantic-lex-spp-value-valid-p)
(semantic-lex-spp-validate-value): New functions
(semantic-lex-spp-symbol-set)
(semantic-lex-spp-symbol-push): Add call to validate value.
(semantic-lex-spp-table-write-slot-value): Instead of erroring on
invalid values during save, just save a nil.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 29 Sep 2010 12:09:21 -0400 |
parents | a5ad4f188e19 |
children | 376148b31b5e |
comparison
equal
deleted
inserted
replaced
110826:57882cb996a9 | 110827:9814473572d4 |
---|---|
233 Uses the output of the Semantic parser to create the index. | 233 Uses the output of the Semantic parser to create the index. |
234 Optional argument STREAM is an optional stream of tags used to create menus." | 234 Optional argument STREAM is an optional stream of tags used to create menus." |
235 (setq imenu-default-goto-function 'semantic-imenu-goto-function) | 235 (setq imenu-default-goto-function 'semantic-imenu-goto-function) |
236 (prog1 | 236 (prog1 |
237 (if (and semantic-imenu-index-directory | 237 (if (and semantic-imenu-index-directory |
238 (featurep 'semanticdb) | 238 (featurep 'semantic/db) |
239 (semanticdb-minor-mode-p)) | 239 (semanticdb-minor-mode-p)) |
240 (semantic-create-imenu-directory-index | 240 (semantic-create-imenu-directory-index |
241 (or stream (semantic-fetch-tags-fast))) | 241 (or stream (semantic-fetch-tags-fast))) |
242 (semantic-create-imenu-index-1 | 242 (semantic-create-imenu-index-1 |
243 (or stream (semantic-fetch-tags-fast)) nil)) | 243 (or stream (semantic-fetch-tags-fast)) nil)) |