lua-users home
lua-l archive

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


> Lua lexer treats dot `.' as separator. But relies (by default) on 
> strtod() for converting, and thus if your ``local'' separator is `,', 
> you are unable to compile the following sample program:

This will be fixed in Lua 5.1. (The basic idea is as follows: if a
convertion fails, Lua tries again replacing the decimal point with the
locale decimal separator. It also stores this new decimal separator
to avoid repeated failures.)

-- Roberto