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]

keywords in syntax-rules


Seems like literals in syntax-rules can't end in a colon because we
interpret those as Keywords instead of Strings.  A fix is attached.

This example illustrates the problem (and will not compile):

(define-syntax lit1
  (syntax-rules (literal:)
		((lit1 literal:)
		 "worked")
		((lit1 a)
		 (lit1 literal:))))

Regards,
Chris Dean

Attachment: syntax-literal.patch
Description: syntax-literal.patch


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