Skip to content

Commit fd9a5d6

Browse files
committed
Add Gauche-specific code in cond-expand
1 parent aa272c8 commit fd9a5d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

testing.scm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
(provide 'srfi-64)
4848
(provide 'testing)
4949
(require 'srfi-35))
50+
(gauche
51+
(define-module srfi-64)
52+
(select-module srfi-64))
5053
(else
5154
))
5255

@@ -62,6 +65,8 @@
6265
(syntax-rules ()
6366
((%test-export test-begin . other-names)
6467
(module-export %test-begin test-begin . other-names)))))
68+
(gauche
69+
(define-syntax %test-export export))
6570
(else
6671
(define-syntax %test-export
6772
(syntax-rules ()
@@ -1030,6 +1035,7 @@
10301035
(if (eof-object? (read-char port))
10311036
(cond-expand
10321037
(guile (eval form (current-module)))
1038+
(gauche (eval form ((with-module gauche.internal vm-current-module))))
10331039
(else (eval form)))
10341040
(cond-expand
10351041
(srfi-23 (error "(not at eof)"))

0 commit comments

Comments
 (0)