Update to Lua 5.1.
This is normally statically linked in releases. Lua also needs some patching in Linux x86 to fix performance issues related to alignment, will need patching if we want fine-grained threading, and generally has an odd "build it yourself" design, so let's just add embed this one. (note: disable PCH for these files in VC, and don't add lua.c, luac.c, or print.c to the project)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
-- make table, grouping all data for the same item
|
||||
-- input is 2 columns (item, data)
|
||||
|
||||
local A
|
||||
while 1 do
|
||||
local l=io.read()
|
||||
if l==nil then break end
|
||||
local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$')
|
||||
if a~=A then A=a io.write("\n",a,":") end
|
||||
io.write(" ",b)
|
||||
end
|
||||
io.write("\n")
|
||||
Reference in New Issue
Block a user