[plt-scheme] define-syntaxes - segfault

From: Bruce Hauman (bhauman at cs.wcu.edu)
Date: Fri Feb 7 12:06:06 EST 2003

Hey guys,

I have noticed that on my system (linux) if I use
define-syntaxes improperly that it causes
mzscheme (203) to segfault.

Heres the code:

(define-syntaxes (ut-oh)
  (letrec ((test (lambda (stx)
                   (syntax-case stx ()
                     (_ (syntax '())))))
           (bust (lambda (stx)
                   (syntax-case stx ()
                     (_ (syntax '()))))))
    (values test bust))) ;; too many values

Let me know if you need more info.

Bruce



Posted on the users mailing list.