From 164e998cbd795fe4afa6fa8859708f80e5389e01 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 30 Mar 2010 21:33:59 +0000 Subject: [PATCH] fix syntax-case docs on how the exception is raised svn: r18679 --- collects/scribblings/reference/stx-patterns.scrbl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/collects/scribblings/reference/stx-patterns.scrbl b/collects/scribblings/reference/stx-patterns.scrbl index 7e07de976b..c41ecf5903 100644 --- a/collects/scribblings/reference/stx-patterns.scrbl +++ b/collects/scribblings/reference/stx-patterns.scrbl @@ -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: