⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 globals.lua

📁 lua script 解析库
💻 LUA
字号:
-- reads luac listings and reports global variable usage-- lines where a global is written to are marked with "*"-- typical usage: luac -p -l file.lua | lua globals.lua | sort | lua table.luawhile 1 do local s=io.read() if s==nil then break end local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+(.*)$") if ok then  if op=="S" then op="*" else op="" end  io.write(g,"\t",l,op,"\n") endend

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -