fix docs (eval) for syntax/keyword

This commit is contained in:
Ryan Culpepper 2011-10-07 19:36:46 -06:00
parent a1009bbf26
commit 192e039e66

View File

@ -10,15 +10,13 @@
syntax/keyword)) syntax/keyword))
@(begin @(begin
(define the-eval (define the-eval (make-base-eval))
(parameterize ([sandbox-output 'string] (the-eval '(begin (require syntax/keyword racket/pretty)
[sandbox-error-output 'string]) (current-print pretty-print-handler)
(make-evaluator 'racket/base #:requires '(syntax/keyword)))) (error-print-source-location #f)))
;;(void (the-eval '(error-print-source-location #f))) (define-syntax-rule (myexamples e ...)
(define-syntax-rule (myexamples e ...) (parameterize (#|(error-print-source-location #f)|#)
(parameterize (#|(error-print-source-location #f)|#) (examples #:eval the-eval e ...))))
(examples #:eval the-eval e ...))))
@title[#:tag "stxkeyword"]{Helpers for Processing Keyword Syntax} @title[#:tag "stxkeyword"]{Helpers for Processing Keyword Syntax}