lua-users home
lua-l archive

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


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