[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How can I detect duplicate field names?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 31 Mar 2008 17:18:43 -0300
> Is there a way to do that in C?
Yes, take a look at print.c in the source distribution and adapt PrintCode.
> I want to keep the lua script as simple as possible.
There's also lbci, my bytecode inspector. You can redefined dofile or
loadfile to perform the detect duplicate field names after the file is
loaded but before it is run.