Hi Andy,

> Anyway, as for your question I'd say just default to using a shared lib.
> Most other interfaces seem to do so, and I'd say the costs should be  
> neglectable in this case. On Windows looking up the required symbols at  
> runtime seems to be the most popular choice, though I personally don't  
> care to much about it either way.

That makes sense. I've updated configure.in to link a shared lib.

> One last thing, I noticed that your patch seems to have problems with
> nested compounds:
>
>     function! s:foo()
>         let l:things = [[1, "foo"], [2, "bar"], [3, "baz"]]
>         " for extra evilness:
>         " call add(l:things, l:things)
>         lua vim.eval("l:things")
>     endfunction
>     call s:foo()
>
> Saving this as test.vim and doing vim -c 'so test.vim' causes a  
> segmentation fault. Same happens if I stick in a dictionary.
> Flat lists seem to work flawlessly though.

Thanks for the report. The latest patch, available at

http://wiki.linuxfromscratch.org/blfs/attachment/wiki/vim/vim72-lua-0.3.patch.gz

should fix these issues.

Cheers,
Luis.

-- 
Computers are useless. They can only give you answers.
                -- Pablo Picasso

-- 
Luis Carvalho (Kozure)
lua -e 'print((("[EMAIL PROTECTED]"):gsub("(%u+%.)","")))'

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui