comparison lisp/cedet/semantic/bovine/c.el @ 106431:4ffa662ec661

* 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.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 05 Dec 2009 19:10:42 +0000
parents 019d906c8f48
children 58365d44aeda
comparison
equal deleted inserted replaced
106430:0bac804850bd 106431:4ffa662ec661
1757 (princ " = ") 1757 (princ " = ")
1758 (princ (cdr S)) 1758 (princ (cdr S))
1759 (princ "\n") 1759 (princ "\n")
1760 )) 1760 ))
1761 1761
1762 (when (arrayp semantic-lex-spp-project-macro-symbol-obarray)
1763 (princ "\n Project symbol map:\n")
1764 (princ " Your project symbol map is derived from the EDE object:\n ")
1765 (princ (object-print ede-object))
1766 (princ "\n\n")
1767 (let ((macros nil))
1768 (mapatoms
1769 #'(lambda (symbol)
1770 (setq macros (cons symbol macros)))
1771 semantic-lex-spp-project-macro-symbol-obarray)
1772 (dolist (S macros)
1773 (princ " ")
1774 (princ (symbol-name S))
1775 (princ " = ")
1776 (princ (symbol-value S))
1777 (princ "\n")
1778 )))
1779
1762 (princ "\n\n Use: M-x semantic-lex-spp-describe RET\n") 1780 (princ "\n\n Use: M-x semantic-lex-spp-describe RET\n")
1763 (princ "\n to see the complete macro table.\n") 1781 (princ "\n to see the complete macro table.\n")
1764 1782
1765 ))) 1783 )))
1766 1784