[Ecls-list] macro call inside function

Yoshihara Tadafumi tada3 at aioros.ocn.ne.jp
Wed Jun 3 01:23:40 UTC 2009


Hello,

I got an error when I try to call a macro inside a function.
For example,

> (defun foo (x) (boo x))

FOO
> (defmacro boo (x) `(+ ,x 1))

BOO
> (foo 3)
The function BOO is undefined.
Borken at SI:BYTECODES.No restarts available.
Broken at FOO.
>>

Is this an expected behavior?

My environment is as follows:
  - Platform: 64bit Linux
  - ecl: ecl-9.4.1

Thanks,
Tada






More information about the ecl-devel mailing list