This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
bug when compiling macro
- To: kawa at sourceware dot cygnus dot com
- Subject: bug when compiling macro
- From: ygrats at gmx dot net
- Date: Fri, 4 Aug 2000 10:42:14 +0200 (MEST)
Hi,
if I compile the following file (let's say bla.scm):
(module-name "bla")
(module-static #t)
(define-syntax jhash-get
(syntax-rules ()
((jhash-get hash key)
(let ((val (invoke (as <java.util.Hashtable> hash) 'get key)))
(if (eq? val #!null)
#f
val)))))
by 'kawa -d . -C bla.scm
I get a <unknown>:0: Literals: Internal
error:java.lang.NullPointerException.
Any ideas about that?
BTW, can I export syntax-definitions, or is this not necessary?
Cheers,
Martin Atzmueller
--
Homepage: http://jove.prohosting.com/~ygrats/
Mail: ygrats@gmx.net
Sent through GMX FreeMail - http://www.gmx.net