raco decompile: expose syntax info saved for REPL

This commit is contained in:
Matthew Flatt 2015-04-28 15:37:10 -06:00
parent bdddd3c80d
commit e88c746c3c

View File

@ -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