fix syntax-case docs on how the exception is raised

svn: r18679
This commit is contained in:
Matthew Flatt 2010-03-30 21:33:59 +00:00
parent 417be5d8e2
commit 164e998cbd

View File

@ -36,10 +36,12 @@
Finds the first @scheme[pattern] that matches the syntax object
produced by @scheme[stx-expr], and for which the corresponding
@scheme[fender-expr] (if any) produces a true value; the result is from
the corresponding @scheme[result-expr], which is in tail position for
the @scheme[syntax-case] form. If no @scheme[clause] matches, then the
@exnraise[exn:fail:syntax].
@scheme[fender-expr] (if any) produces a true value; the result is
from the corresponding @scheme[result-expr], which is in tail position
for the @scheme[syntax-case] form. If no @scheme[clause] matches, then
the @exnraise[exn:fail:syntax]; the exception is generated by calling
@scheme[raise-syntax-error] with @scheme[#f] as the ``name'' argument,
a string with a error message, and the result of @scheme[stx-expr].
A syntax object matches a @scheme[pattern] as follows: