added syntax property to universe 'disappeared-use so that keywords in world clauses point to origin and have docs

This commit is contained in:
Matthias Felleisen 2011-08-03 14:29:33 -04:00
parent c938fdf419
commit 7de873f431

View File

@ -336,7 +336,9 @@
[(not (contains-clause? #'on-msg dom))
(raise-syntax-error #f "expects a on-msg clause, but found none" stx)]
[else ; (and (memq #'on-new dom) (memq #'on-msg dom))
#`(run-it ((new-universe universe%) u #,@args))]))]))
(syntax-property
#`(run-it ((new-universe universe%) u #,@args))
'disappeared-use (map (lambda (x) (car (syntax->list x))) dom))]))]))
;
;