Segmentation Fault in define-macro

Q&A's, tips, howto's
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Segmentation Fault in define-macro

Post by newdep »

newLISP v.8.5.7 on Linux, execute 'newlisp -h' for more info.

> (define-macro (boe bang) (load (string bang)))
(lambda-macro (bang) (load (string bang)))
> (boe boe)
nil

> (define-macro (boem bang) (load (string bang)))
(lambda-macro (bang) (load (string bang)))
> (boem boem)
Segmentation fault


An argument-string-length problem in define-macro?

That is, only Segmentation-Fault with exactly 4 letter function name!


Norman.
-- (define? (Cornflakes))

Locked