lua-users home
lua-l archive

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


Matthew Paul Del Buono wrote:
> Lua seems to have trouble parsing both -0 and 0 while reading 
> a file. Individually, it works fine, however when both are 
> present in the same file, the compiler seems to fold -0 and 0 
> into the same constant.

This is a known issue and there's even a bug fix for it:

  http://lua-users.org/lists/lua-l/2008-04/msg00136.html

But for some reason that fix never went into Lua 5.1.4. :-(

--Mike