diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-12-05 19:10:42 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-12-05 19:10:42 +0000 |
commit | 1dc5c6f318d8b4a92e8552b74fdf097386c5d771 (patch) | |
tree | a60555c90b2947bbcbb8045841bed9632eb0a188 /lisp/cedet/semantic/bovine/c.el | |
parent | bfadeadd326a68c086ed122d1e8f16ba1e079144 (diff) | |
download | emacs-1dc5c6f318d8b4a92e8552b74fdf097386c5d771.tar.gz |
* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
Describe project macro symbols.
* cedet/semantic/complete.el (semantic-complete-do-completion):
Don't call semantic-collector-current-exact-match.
* cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
ede-objects as targets.
* cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
a target's object list even if compiler vars are already in the
Makefile.
* cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
list of headers producing necessary macros.
Diffstat (limited to 'lisp/cedet/semantic/bovine/c.el')
-rw-r--r-- | lisp/cedet/semantic/bovine/c.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el index b775bbf76a3..d4b8bafbf78 100644 --- a/lisp/cedet/semantic/bovine/c.el +++ b/lisp/cedet/semantic/bovine/c.el @@ -1759,6 +1759,24 @@ DO NOT return the list of tags encompassing point." (princ "\n") )) + (when (arrayp semantic-lex-spp-project-macro-symbol-obarray) + (princ "\n Project symbol map:\n") + (princ " Your project symbol map is derived from the EDE object:\n ") + (princ (object-print ede-object)) + (princ "\n\n") + (let ((macros nil)) + (mapatoms + #'(lambda (symbol) + (setq macros (cons symbol macros))) + semantic-lex-spp-project-macro-symbol-obarray) + (dolist (S macros) + (princ " ") + (princ (symbol-name S)) + (princ " = ") + (princ (symbol-value S)) + (princ "\n") + ))) + (princ "\n\n Use: M-x semantic-lex-spp-describe RET\n") (princ "\n to see the complete macro table.\n") |