This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: macros and compilation
- To: per at bothner dot com, kawa <kawa at sourceware dot cygnus dot com>
- Subject: Re: macros and compilation
- From: Marco Vezzoli <marco dot vezzoli at st dot com>
- Date: Wed, 23 Aug 2000 15:18:50 +0200
- References: <39A364CC.F133B57E@st.com>
Some other stuff about this...
I tried to move the (module-export ) form at the end of the source file;
both kinds of compilations were OK, but if I try to eval a form with the
macro the module bindings seem lost.
With the code I posted this is what I get:
#|kawa:1|# (require <macmod>)
#|kawa:2|# (das-search 'test)
gnu.mapping.UnboundSymbol: Unbound symbol %das-search
at gnu.mapping.Environment.getChecked(Compiled Code)
at kawa.standard.ScmEnv.getChecked(Compiled Code)
at gnu.expr.ReferenceExp.eval(Compiled Code)
at gnu.expr.ApplyExp.eval(Compiled Code)
at gnu.expr.ModuleExp.evalModule(Compiled Code)
at kawa.Shell.run(Compiled Code)
at kawa.Shell.run(Compiled Code)
at kawa.Shell.run(Compiled Code)
at kawa.repl.main(Compiled Code)
I don't know if this is the behaviour I should expect...
I don't need to access %das-search directly but the macro does.
Thanks
Marco
--
(--cafe babe--)
Marco Vezzoli marco.vezzoli@st.com
CR&D Intranet Developement STMicroelectronics
tel. +39 039 603 6852 fax. +39 039 603 5055