added syntax property 'disappeared-use so that keywords in world clauses point to origin and have docs
This commit is contained in:
parent
ac919568a6
commit
c938fdf419
|
@ -245,9 +245,11 @@
|
|||
[(and (not (contains-clause? #'to-draw dom)) (not (contains-clause? #'on-draw dom)))
|
||||
(raise-syntax-error #f "expects a [to-draw handler] clause, missing" stx)]
|
||||
[else
|
||||
(syntax-property
|
||||
(stepper-syntax-property
|
||||
#`(run-it ((new-world (if #,rec? aworld% world%)) w #,@args))
|
||||
'stepper-skip-completely #t)]))]))
|
||||
'stepper-skip-completely #t)
|
||||
'disappeared-use (map (lambda (x) (car (syntax->list x))) dom))]))]))
|
||||
|
||||
(define (run-simulation f)
|
||||
(check-proc 'run-simulation f 1 "first" "one argument")
|
||||
|
|
Loading…
Reference in New Issue
Block a user