1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-12 06:41:13 +02:00

Merge commit 'ad5f5ada1d' into vm-check

This commit is contained in:
Andy Wingo 2009-03-17 16:06:44 +01:00
commit 40af975ba8
4 changed files with 16 additions and 3 deletions

7
NEWS
View file

@ -50,6 +50,13 @@ Changes in 1.8.7 (since 1.8.6)
** Fix build problem when scm_t_timespec is different from struct timespec ** Fix build problem when scm_t_timespec is different from struct timespec
** Fix build when compiled with -Wundef -Werror ** Fix build when compiled with -Wundef -Werror
** Allow @ macro to work with (ice-9 syncase)
Previously, use of the @ macro in a module whose code is being
transformed by (ice-9 syncase) would cause an "Invalid syntax" error.
Now it works as you would expect (giving the value of the specified
module binding).
Changes in 1.8.6 (since 1.8.5) Changes in 1.8.6 (since 1.8.5)

1
THANKS
View file

@ -41,6 +41,7 @@ For fixes or providing information which led to a fix:
Peter Gavin Peter Gavin
Eric Gillespie, Jr Eric Gillespie, Jr
Didier Godefroy Didier Godefroy
Panicz Maciej Godek
John Goerzen John Goerzen
Mike Gran Mike Gran
Szavai Gyula Szavai Gyula

View file

@ -149,9 +149,11 @@
(let ((e ((macro-transformer m) (let ((e ((macro-transformer m)
e e
(append r (list eval-closure))))) (append r (list eval-closure)))))
(if (null? r) (if (variable? e)
(sc-expand e) e
(sc-chi e r w)))))))))) (if (null? r)
(sc-expand e)
(sc-chi e r w)))))))))))
(define generated-symbols (make-weak-key-hash-table 1019)) (define generated-symbols (make-weak-key-hash-table 1019))

View file

@ -34,3 +34,6 @@
(pass-if "basic syncase macro" (pass-if "basic syncase macro"
(= (plus 1 2 3) (+ 1 2 3))) (= (plus 1 2 3) (+ 1 2 3)))
(pass-if "@ works with syncase"
(eq? run-test (@ (test-suite lib) run-test)))