[Ecls-list] Another endless loop of compiler errors

Hannu Koivisto azure at iki.fi
Wed Feb 13 07:36:15 UTC 2002


Greetings,

An attempt to macroexpand-1 the following form in repl...

(defstruct (alien-type
            (:print-function %print-alien-type)
            (:make-load-form-fun :just-dump-it-normally)
            (:constructor make-alien-type (&key class bits alignment)))
  (class 'root :type symbol)
  (bits nil :type (or null unsigned-byte))
  (alignment (guess-alignment bits) :type (or null unsigned-byte)))

...results to a clear error message:

:MAKE-LOAD-FORM-FUN is an illegal defstruct option.

However, if one tries to compile that defstruct, an endless loop of
the following results:

;;; The macro form (DEFSTRUCT ...) was not expanded successfully.
;;; You are recommended to compile again.

-- 
Hannu
Please don't send copies of list mail




More information about the ecl-devel mailing list