Skip to content

Commit 8710c68

Browse files
committed
Make %transfer-bindings aware of BINDING_SYNTAX
1 parent 09950e3 commit 8710c68

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/libalpha.scm

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,18 @@
366366
(logior= lflags SCM_BINDING_CONST)]
367367
[(SCM_EQ fl 'inlinable)
368368
(logior= lflags SCM_BINDING_INLINABLE)]
369+
[(SCM_EQ fl 'syntax)
370+
(logior= lflags SCM_BINDING_SYNTAX)]
369371
[else
370372
(Scm_Error "unknown flag: %S" fl)]))
371373
flags)]
372374
[else
373375
(when (Scm_GlocInlinableP g)
374376
(logior= lflags SCM_BINDING_INLINABLE))
375377
(when (Scm_GlocConstP g)
376-
(logior= lflags SCM_BINDING_CONST))])
378+
(logior= lflags SCM_BINDING_CONST))
379+
(when (Scm_GlocSyntaxP g)
380+
(logior= lflags SCM_BINDING_SYNTAX))])
377381
(Scm_MakeBinding to (SCM_SYMBOL sym) (SCM_GLOC_GET g) lflags)))
378382
symbols))
379383

0 commit comments

Comments
 (0)