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