richardhundt / shine

A Shiny Lua Dialect
Other
231 stars 18 forks source link

Added local declaration #56

Closed mpeterv closed 10 years ago

mpeterv commented 10 years ago

Another small fix ;)

richardhundt commented 10 years ago

Are you using your luacheck tool for this? If so I might have to install it... looks like I've broken my Lua fingers

mpeterv commented 10 years ago

I do, it helps a lot. It also checks for unused and redefined variables, if you only need to look for missing local statements try something like luacheck -ur src/*.lua src/*/*.lua