|
From: | Kon Lovett |
Subject: | Re: [Chicken-users] Order of loading extensions and syntax extensions |
Date: | Wed, 7 Jun 2006 22:05:59 -0700 |
On Jun 7, 2006, at 8:55 PM, Alejandro Forero Cuervo wrote:
The problem here is that the srfi-40-base.scm registers a srfi-40 feature id, which will later make csi believe that srfi-40.scm is already loaded. Removing that register-feature! call will make it work again.Actually srfi-40-base.scm includes srfi-40.scm, which has the register-feature!. Should I remove that register-feature! from srfi-40.scm and update the srfi-40 egg or would that break things?
No.Remember the '!' in 'register-feature!'. The syntax file will cause this to be executed in everything that uses it. Moving 'register- feature!' to the compiled file is best. With it in the syntax file the system "thinks" the extension is already loaded.
Best Wishes, Kon
Thanks! Alejo, unfamiliar with register-feature!. http://azul.freaks-unidos.net/ _______________________________________________ Chicken-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/chicken-users
[Prev in Thread] | Current Thread | [Next in Thread] |