Bugfix for ede-proj-makefile-insert-variables.

* cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't
destroy list before using it.
This commit is contained in:
Chong Yidong 2010-04-18 17:40:10 -04:00
parent bce3183024
commit 137327efbd
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2010-04-18 Chong Yidong <cyd@stupidchicken.com>
* cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't
destroy list before using it.
2010-04-17 Dan Nicolaescu <dann@ics.uci.edu>
Fix the version number for added files.

View file

@ -425,10 +425,9 @@ sources variable."
(link (ede-proj-linkers this))
(name (ede-proj-makefile-target-name this))
(src (oref this source)))
(while comp
(ede-compiler-only-once (car comp)
(ede-proj-makefile-insert-variables (car comp)))
(setq comp (cdr comp)))
(dolist (obj comp)
(ede-compiler-only-once obj
(ede-proj-makefile-insert-variables obj)))
(ede-proj-makefile-insert-object-variables (car comp) name src)
(while link
(ede-linker-only-once (car link)