macro-stepper: fix reader abbreviations

original commit: 8c806c184fcc15c67ee99b7f3636f22e92ed546e
This commit is contained in:
Ryan Culpepper 2011-09-29 19:00:13 -06:00
parent d23cb24353
commit 00b639c611

View File

@ -70,7 +70,10 @@
[else #f]))
(define (pp-remap-stylable obj)
(and (id-syntax-dummy? obj) (id-syntax-dummy-remap obj)))
(and (id-syntax-dummy? obj)
(let ([remap (id-syntax-dummy-remap obj)])
(and (not (memq remap special-expression-keywords))
remap))))
(define (pp-better-style-table styles)
(define style-list (for/list ([(k v) (in-hash styles)]) (cons k v)))