lua-users home
lua-l archive

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

On Feb 19, 2014, at 10:21 AM, Andrew Starks <> wrote:

On Wednesday, February 19, 2014, steve donovan <> wrote:
On Wed, Feb 19, 2014 at 8:12 PM, René Rebe <> wrote:
> I think that case is covered, but there is indeed a bug: it returns garbage
> if there is no newline at the end of the file. So non-C99 platforms would
> only be supported with the getc loop, ... :-/

Important point, really - Lua source is C89 'plus'.  Main constraint
is the Microsoft compiler, which refuses to implement C99 properly
since MS thinks like a C++ zealot and can't understand why C people
don't just ... give up and use the language of the future.


(OT. Sorry) 

Shudders. :)