[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Chars for Identifiers
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 16 Apr 2001 18:31:56 -0300 (EST)
>I have tested and found that also possible are the characters ?!$@
Really? You tested it? What version and what platform?
If this is right, it seems to me that it's a bug in locale...
Accented chars are allowed if the locale says they are letters.
The lexer simply uses isalnum.
Anyway. if you want your Lua programs to be portable, then you cannot use those
characters, and have to stick to _ 0-9 A-Z a-z.