Re: Why duplicate keys in table constructor isn't an error?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Why duplicate keys in table constructor isn't an error?
- From: Hans Hagen <pragma@...>
- Date: 2007年3月13日 18:30:13 +0100
Luiz Henrique de Figueiredo wrote:
Try this tool.
-- find duplicated keys in table constructors
-- typical usage: luac -p -l *.lua | lua keys.lua
the -p -l call segfaults on my machine (windows xp)
luac -v
Lua 5.1.1 Copyright (C) 1994-2006 Lua.org, PUC-Rio
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------