Fixes rendering of (hole t ...+)
There was some old named holes code still in use.
This commit is contained in:
parent
7dc22bc0fe
commit
3214861420
|
@ -90,10 +90,6 @@
|
|||
(list (blank)
|
||||
(list-ref args 2)
|
||||
(blank))))
|
||||
(hole ,(λ (args)
|
||||
(let ([name (lw-e (list-ref args 2))])
|
||||
(list (basic-text "[]" (default-style))
|
||||
(basic-text (format "~a" name) (non-terminal-subscript-style))))))
|
||||
(name ,(λ (args)
|
||||
(let ([open-paren (list-ref args 0)]
|
||||
[the-name (list-ref args 2)]
|
||||
|
|
|
@ -236,5 +236,12 @@
|
|||
(side-condition/hidden (= 1 2)))))
|
||||
"rr-hidden.png")
|
||||
|
||||
;; holes
|
||||
(let ()
|
||||
(define-language L
|
||||
(n (hole x) ; a "named hole" at one time
|
||||
hole))
|
||||
(test (render-language L) "holes.png"))
|
||||
|
||||
(printf "bitmap-test.ss: ")
|
||||
(done)
|
||||
|
|
BIN
collects/redex/tests/bmps-macosx/holes.png
Normal file
BIN
collects/redex/tests/bmps-macosx/holes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 964 B |
Loading…
Reference in New Issue
Block a user