Whitespace.

master
Mike Pall 2011-10-22 02:04:11 +02:00
parent aa502203a6
commit 7aa2c994b5
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ mt.__newindex = function (t, n, v)
end
rawset(t, n, v)
end
mt.__index = function (t, n)
if not mt.__declared[n] and what() ~= "C" then
error("variable '"..n.."' is not declared", 2)