lua-users home
lua-l archive

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


> Does the reference manual actually say that a Name does not depend on
> locale, it depends on lctype.h?

The manual says that Names can be any string of letters, digits, and
underscores, not beginning with a digit. It is assumed that everyone
knows what a letter is :-)

lctype.c contains a no-surprise table. It's there for two purposes:
to avoid the locale-dependent ctype table from the C library and
(secondarily) to allow it to be changed in cases one really needs to.