Mercurial > emacs
diff lisp/cedet/ede/pmake.el @ 107973:34a427c407fe
Bugfix for ede-proj-makefile-insert-variables.
* cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't
destroy list before using it.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 18 Apr 2010 17:40:10 -0400 |
parents | 1d1d5d9bd884 |
children | b150a06c6999 |
line wrap: on
line diff
--- a/lisp/cedet/ede/pmake.el Sat Apr 17 09:10:19 2010 -0700 +++ b/lisp/cedet/ede/pmake.el Sun Apr 18 17:40:10 2010 -0400 @@ -425,10 +425,9 @@ (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)