adjust bindings-table encoding
This commit is contained in:
parent
bbfdc73e5d
commit
6a2e75c454
|
@ -237,8 +237,10 @@
|
||||||
(values phase
|
(values phase
|
||||||
(for/hash ([(sym id) (in-hash ht)])
|
(for/hash ([(sym id) (in-hash ht)])
|
||||||
(values sym
|
(values sym
|
||||||
|
(if (eq? id #t)
|
||||||
|
#t
|
||||||
`(#%decode-syntax
|
`(#%decode-syntax
|
||||||
,(decompile-stx (stx-encoded id) stx-ht)))))))
|
,(decompile-stx (stx-encoded id) stx-ht))))))))
|
||||||
(quote language-info ,lang-info)
|
(quote language-info ,lang-info)
|
||||||
,@(if (null? flags) '() (list `(quote ,flags)))
|
,@(if (null? flags) '() (list `(quote ,flags)))
|
||||||
,@(let ([l (apply
|
,@(let ([l (apply
|
||||||
|
|
|
@ -140,7 +140,7 @@
|
||||||
[lang-info (or/c #f (vector/c module-path? symbol? any/c))]
|
[lang-info (or/c #f (vector/c module-path? symbol? any/c))]
|
||||||
[internal-context (or/c #f #t stx? (vectorof stx?))]
|
[internal-context (or/c #f #t stx? (vectorof stx?))]
|
||||||
[binding-names (hash/c exact-integer?
|
[binding-names (hash/c exact-integer?
|
||||||
(hash/c symbol? stx?))]
|
(hash/c symbol? (or/c #t stx?)))]
|
||||||
[flags (listof (or/c 'cross-phase))]
|
[flags (listof (or/c 'cross-phase))]
|
||||||
[pre-submodules (listof mod?)]
|
[pre-submodules (listof mod?)]
|
||||||
[post-submodules (listof mod?)]))
|
[post-submodules (listof mod?)]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user