This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

literals in syntax-rules


In versions of Kawa prior to 1.7, the following macro would always
return "worked" when given one argument:

(define-syntax t1
  (syntax-rules (literal)
    ((t1 literal)
     "worked")
    ((t1 a)
     (t1 literal))))

Now there's a stack overflow.  I think the prior behavior was correct.

-- 
<brlewis@[(if (brl-related? message)    ; Bruce R. Lewis
              "users.sourceforge.net"   ; http://brl.codesimply.net/
              "alum.mit.edu")]>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]