lua-users home
lua-l archive

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


Hi.. I'm sorry for not catching this, aparently I had some problems with my e-mail, and I got un-subscribed from the list for a while.. I'm not sure how old this is, but here's a solution:

At Wed, 21 Jan 2004 16:32:20 -0700, Mike Clifton wrote:
Unfortunately, tolua++ seems to fix one bug in tolua, but introduces
another. Take the following package for example:

module Test {

enum {
POINT = 100,
LINE = 101,
POLYGON = 102
};
[..]

The problem only seems to occur when the enum is anonymous.. If you name it, it works correctly. eg:

enum _Dummy {

        POINT = 100,
        [,,,]
};

That doesn't seem to break the ints.

Hope that helps (and that I'm not too late ;)

Ariel.

Ariel.
http://Anime.com.ar
snm