[plt-scheme] Parser-tools fix to set differance

From: Kevin Tew (tewk at tewk.com)
Date: Wed Jan 11 15:34:02 EST 2006

Index: lex-sre.ss
===================================================================
--- lex-sre.ss  (revision 1805)
+++ lex-sre.ss  (working copy)
@@ -81,7 +81,7 @@
                            "must have at least one argument"
                            stx))
       ((_ big-re re ...)
-       (syntax (intersect big-re (~ (union re) ...))))))
+       (syntax (intersection big-re (complement (union re ...)))))))
   
   (define-lex-trans (sre-/ stx)
     (syntax-case stx ()

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parser-tools.diff
URL: <http://lists.racket-lang.org/users/archive/attachments/20060111/51e1b24b/attachment.ksh>

Posted on the users mailing list.