~ chicken-core (chicken-5) ef7be8f889e34cb1c0a10e3021f45fd5b95e42ad


commit ef7be8f889e34cb1c0a10e3021f45fd5b95e42ad
Author:     felix <felix@z.(none)>
AuthorDate: Fri Mar 25 09:17:43 2011 +0100
Commit:     felix <felix@z.(none)>
CommitDate: Fri Mar 25 09:17:43 2011 +0100

    allow -lambda-lift but warn about it (suggested by Kon)

diff --git a/batch-driver.scm b/batch-driver.scm
index 0946f4ce..bffb8b52 100644
--- a/batch-driver.scm
+++ b/batch-driver.scm
@@ -188,8 +188,10 @@
       (set! do-scrutinize #t))
     (when (memq 't debugging-chicken) (##sys#start-timer))
     (when (memq 'b debugging-chicken) (set! time-breakdown #t))
-    (when (memq 'emit-exports options)
-      (warning "deprecated compiler option: emit-exports") )
+    (when (memq 'emit-exports options)	; OBSOLETE
+      (warning "obsolete compiler option: emit-exports") )
+    (when (memq 'lambda-lift options)	; OBSOLETE
+      (warning "obsolete compiler option: emit-exports") )
     (when (memq 'raw options)
       (set! explicit-use-flag #t)
       (set! cleanup-forms '())
diff --git a/c-platform.scm b/c-platform.scm
index cc1e8f48..18e305c7 100644
--- a/c-platform.scm
+++ b/c-platform.scm
@@ -91,6 +91,7 @@
     no-procedure-checks-for-toplevel-bindings module
     no-bound-checks no-procedure-checks-for-usual-bindings no-compiler-syntax
     no-parentheses-synonyms no-symbol-escape r5rs-syntax emit-all-import-libraries
+    lambda-lift				; OBSOLETE
     setup-mode unboxing no-module-registration) )
 
 (define valid-compiler-options-with-argument
diff --git a/csc.scm b/csc.scm
index 1ace6844..9ac1fb93 100644
--- a/csc.scm
+++ b/csc.scm
@@ -139,6 +139,7 @@
     -no-argc-checks -no-bound-checks -no-procedure-checks -no-compiler-syntax
     -emit-all-import-libraries -setup-mode -unboxing -no-elevation -no-module-registration
     -no-procedure-checks-for-usual-bindings -module
+    -lambda-lift			; OBSOLETE
     -no-procedure-checks-for-toplevel-bindings))
 
 (define-constant complex-options
Trap