~ chicken-core (chicken-5) e79224481afd377a4c813bae0bfb7b491f6df91c


commit e79224481afd377a4c813bae0bfb7b491f6df91c
Author:     Evan Hanson <evhan@foldling.org>
AuthorDate: Thu Oct 9 20:57:44 2014 +1300
Commit:     Peter Bex <peter.bex@xs4all.nl>
CommitDate: Sat Oct 11 14:07:01 2014 +0200

    Fix the -r5rs-syntax flag
    
    Signed-off-by: Peter Bex <peter.bex@xs4all.nl>

diff --git a/NEWS b/NEWS
index e44d32c6..31f535d6 100644
--- a/NEWS
+++ b/NEWS
@@ -75,6 +75,8 @@
     - When using chicken-install -retrieve, and an error occurs during
        retrieval (or the egg doesn't exist), the egg's directory is
        now properly cleaned up (#1109, thanks to Alex Charlton)
+  - "chicken"
+    - The -r5rs-syntax option did nothing; this has been fixed.
 
 4.9.0
 
diff --git a/batch-driver.scm b/batch-driver.scm
index 9ae5f68a..f0c26725 100644
--- a/batch-driver.scm
+++ b/batch-driver.scm
@@ -261,7 +261,7 @@
     (when (memq 'no-symbol-escape options) 
       (dribble "Disabled support for escaped symbols")
       (symbol-escape #f) )
-    (when (memq '("-r5rs-syntax") options)
+    (when (memq 'r5rs-syntax options)
       (dribble "Disabled the CHICKEN extensions to R5RS syntax")
       (case-sensitive #f)
       (keyword-style #:none)
Trap