[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: hex numerical literals in 5.1
- From: Rafael Meneses <rafaparafernalia@...>
- Date: Mon, 19 Dec 2005 17:42:37 -0300
On 12/19/05, Todor Totev <umbra.tenebris@list.ru> wrote:
>
> Hello all,
Hi,
> I want to implement hexadecimal numerical literals in 5.1 in usual C
> manner - like 0x7FFFFFFFFFFFFFFF.
> I found in llex.c function called read_numeral.
> Are there other functions that I must change to do this?
> Thanks in advance,
> Todor
>
>
Look in http://lua-users.org/wiki/LuaPowerPatches the patch:
"Bitwise operators and hexadecimal support"
Bye...
--
Rafael Meneses
http://www.labsd.inf.utfsm.cl/~rmeneses