This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Bad define placement error
- To: Aleksandar Bakic <bakicale@cse.msu.edu>
- Subject: Re: Bad define placement error
- From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
- Date: 13 Sep 1999 11:24:09 +0200
- Cc: guile@sourceware.cygnus.com
- Cc: djurfeldt@nada.kth.se
- References: <199909130524.BAA24231@pacific.cps.msu.edu>
Aleksandar Bakic <bakicale@cse.msu.edu> writes:
> I just installed some code written for Guile 1.3a, under Guile
> 1.3.2a. At one point, I got "Bad define placement" error, in code that
> uses guile-tcltk and has no visible (i.e., at the user level)
> `define'. I saw in the Changelog that there were some recent changes
> in eval.c regarding internal defines... Any hints?
Internal defines must be placed at the beginning of bodies of lambda,
let, etc. If there is any macro that expands into define, this macro
must also be placed so.
proc expands into define.
Do you have any proc except at top-level?