On Viernes, 10 de Diciembre de 2010 09:25:39 Leslie P. Polzer escribió:
> On Fri, Dec 10, 2010 at 12:33:03AM +0100, Rafael Jesús Alcántara Pérez 
wrote:
> > I could not macroexpand the defstore even commenting out the line
> > beginning with %defstore-predefined.
> 
> Sorry, I don't understand. Can you rephrase this sentence?
In the defstore macro definition I commented out the line that begin with 
%defstore-predefined and I got the same behaviour.

The problem is that if I try to macroexpand the next sexp:

(defstore
    *perec-store*
    :perec
    `(:host ,mypackage.bd:*skynet-database-host*
            :database ,mypackage.bd:*skynet-database-name*
            :user-name ,mypackage.bd:*skynet-database-user*
            :password ,mypackage.bd:*skynet-database-password*)
      :load-store-system-p nil))

Then I get this error:

error while parsing arguments to DEFMACRO DEFSTORE:
  odd number of elements in keyword/value list: (`(:HOST
                                                   ,*SKYNET-DATABASE-HOST*
                                                   :DATABASE
                                                   ,*SKYNET-DATABASE-NAME*
                                                   :USER-NAME
                                                   ,*SKYNET-DATABASE-USER*
                                                   :PASSWORD
                                                   ,*SKYNET-DATABASE-
PASSWORD*)
                                                 :LOAD-STORE-SYSTEM-P
                                                 NIL)
   [Condition of type SB-KERNEL::DEFMACRO-LAMBDA-LIST-BROKEN-KEY-LIST-ERROR]

I tried in clisp and ecl with similar results.

Greets.

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.

Reply via email to