[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: identifier char class
- From: spir <denis.spir@...>
- Date: Fri, 27 Nov 2009 22:02:27 +0100
Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> > << The definition of letter depends on the current locale: any character considered alphabetic by the current locale can be used in an identifier. >>
>
> This will be removed in 5.2.
>
> > 1) Where does Lua take this info from?
>
> >From ANSI C ctype.h. The classification of chars according to ctype depends
> on the current locale.
>
> In 5.2, Lua will provide its own ctype table and won't rely on locales.
> See http://lua-users.org/lists/lua-l/2009-05/msg00411.html
>
Thank you for the fast answer, I'll check this pointer.
Denis
________________________________
la vita e estrany
http://spir.wikidot.com/