raco decompile: expose syntax info saved for REPL
This commit is contained in:
parent
bdddd3c80d
commit
e88c746c3c
|
@ -188,6 +188,11 @@
|
|||
[(stack) (append '(#%modvars) orig-stack)]
|
||||
[(closed) (make-hasheq)])
|
||||
`(,mod-name ,(if (symbol? name) name (last name)) ....
|
||||
(quote internal-context
|
||||
,(if (stx? internal-context)
|
||||
`(#%decode-syntax
|
||||
,(decompile-stx (stx-encoded internal-context) stx-ht))
|
||||
internal-context))
|
||||
,@(if (null? flags) '() (list `(quote ,flags)))
|
||||
,@(let ([l (apply
|
||||
append
|
||||
|
|
Loading…
Reference in New Issue
Block a user