Mercurial > emacs
comparison lisp/cedet/ede.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 | 83dde921cc1b |
children | 1d1d5d9bd884 |
comparison
equal
deleted
inserted
replaced
106430:0bac804850bd | 106431:4ffa662ec661 |
---|---|
1863 ;; These items are needed by ede-cpp-root to add better support for | 1863 ;; These items are needed by ede-cpp-root to add better support for |
1864 ;; configuring items for Semantic. | 1864 ;; configuring items for Semantic. |
1865 (defun ede-apply-preprocessor-map () | 1865 (defun ede-apply-preprocessor-map () |
1866 "Apply preprocessor tables onto the current buffer." | 1866 "Apply preprocessor tables onto the current buffer." |
1867 (when (and ede-object (boundp 'semantic-lex-spp-macro-symbol-obarray)) | 1867 (when (and ede-object (boundp 'semantic-lex-spp-macro-symbol-obarray)) |
1868 (let ((map (ede-preprocessor-map ede-object))) | 1868 (let* ((objs ede-object) |
1869 (map (ede-preprocessor-map (if (consp objs) | |
1870 (car objs) | |
1871 objs)))) | |
1869 (when map | 1872 (when map |
1870 ;; We can't do a require for the below symbol. | 1873 ;; We can't do a require for the below symbol. |
1871 (setq semantic-lex-spp-macro-symbol-obarray | 1874 (setq semantic-lex-spp-macro-symbol-obarray |
1872 (semantic-lex-make-spp-table map)) | 1875 (semantic-lex-make-spp-table map))) |
1873 )))) | 1876 (when (consp objs) |
1877 (message "Choosing preprocessor syms for project %s" | |
1878 (object-name (car objs))))))) | |
1874 | 1879 |
1875 (defmethod ede-system-include-path ((this ede-project)) | 1880 (defmethod ede-system-include-path ((this ede-project)) |
1876 "Get the system include path used by project THIS." | 1881 "Get the system include path used by project THIS." |
1877 nil) | 1882 nil) |
1878 | 1883 |