From: Peter Graves <peter@ar...> - 2005-02-18 14:38:29
On Fri, 18 Feb 2005 at 12:02:25 +1300, Adam Warner wrote:
> Compiling the file ltv.lisp:
> (defmacro foo ()
> (load-time-value (random most-positive-fixnum)))
> CL-USER(1): (compile-file "ltv")
> ; Compiling /home/adam/t/ltv.lisp ...
> ; Processing macro FOO
> Debugger invoked on condition of type COMPILER-UNSUPPORTED-FEATURE-ERROR:
> COMPILE-FORM: unsupported special operator LOAD-TIME-VALUE
I've added support for LOAD-TIME-VALUE to the compiler, and this
example should work correctly now.
At this point there are no non-trivial tests for LOAD-TIME-VALUE in the
ANSI test suite, so I may not have gotten the behavior exactly right in
every situation. Please let me know if you notice any anomalies!
Thanks for your help.
Get latest updates about Open Source Projects, Conferences and News.