Fixes rendering of (hole t ...+)

There was some old named holes code still in use.
This commit is contained in:
Casey Klein 2011-03-24 06:57:12 -05:00
parent 7dc22bc0fe
commit 3214861420
3 changed files with 7 additions and 4 deletions

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B