lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


1) Function Syntax

Was it intended that this syntax which was valid in Lua 2.5 no longer
works in Lua 3.1? 

function foo.bar.foo(a,b,c)
end

-- or

function foo.bar:foo(a,b,c)
end

I've changed to use the new anonymous function syntax:

foo.bar.foo = function (a,b,c)
end

but dosn't this mean that the function won't have a 'name' in the
debugging information?


2) Lua2c - C2lua overflow

I'm having trouble with lua2c - c2lua overflows. I tried increasing the
STACK_SIZE in lua 3.1 but this had no effect. This code used to work in
lua 2.5. Can someone explain to me what this overflow actually means and
how I might figure out what is wrong?


-- 
David Jeske (N9LCA) + http://www.chat.net/~jeske/ + jeske@chat.net