lua-users home
lua-l archive

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

> On Mon, May 25, 2009 at 1:29 PM, Roberto Ierusalimschy
> <> wrote:
> > Maybe 19? (To handle correctly lowercase "digits" such as \x0f.)
> Like I, you missed the "cu = toupper(ls->current);" line.

Sorry for the noise.

We are deprecating the use of ctype inside the Lua core, (See for
instance for a
discussion about the subject.) Our current replacement does not have
toupper (the obvious implementation as a macro would need another 257
bytes), so we have to handle the lowercase "digits" explicitly.

-- Roberto