[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Bug?] 0 vs -0 / Incorrect Optimization or Parsing
- From: Mike Pall <mikelu-0907@...>
- Date: Tue, 28 Jul 2009 11:34:28 +0200
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