lua-users home
lua-l archive

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


> >#define LUA_VERSION_NUMBER 5.0
>
> Except that I think ANSI C says that the preprocessor does not handle floating
> point numbers, only integers.

Fine, 500

> >#define LUA_VERSION # LUA_VERSION_NUMBER
>
> Except that some compilers choke on this and generate "LUA_VERSION_NUMBER"
> instead of "5.0". We've been bitten by this in earlier versions.

Well, they're broken then. Anyway, it can say "5.0" or whatever, it's not
too bad if it's just two lines.

-- 
http://www.mupsych.org/~rrt/ | irrevocable, a.  expensive; see also lawyer