From c1ca144ed25c850f6b9ec2748bfa15f5cf647dc3 Mon Sep 17 00:00:00 2001 From: Artem Serebriyskiy Date: Wed, 23 Apr 2014 01:48:10 +0400 Subject: [PATCH] Fixed errors from previous commit. Also in previous commit also fixed warning with unsigned vs signed comparison --- Lib/lua/luarun.swg | 2 +- Source/Modules/lua.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index 04b6760fb..a47afde5c 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -1308,7 +1308,7 @@ SWIGINTERN void SWIG_Lua_class_register_instance(lua_State *L,swig_lua_class *c /* add it */ lua_rawset(L,-3); /* metatable into registry */ lua_pop(L,1); /* tidy stack (remove registry) */ - assert(lua_gettop(L)== begin); + assert(lua_gettop(L) == begin); #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* Now merge all symbols from .fn, .set, .get etc from bases to our tables */ diff --git a/Source/Modules/lua.cxx b/Source/Modules/lua.cxx index 1afc38de4..1e99205bc 100644 --- a/Source/Modules/lua.cxx +++ b/Source/Modules/lua.cxx @@ -2023,7 +2023,7 @@ public: Printv(output, set_tab, NIL); } - // Euristic whether we need to print metatable or not. + // Heuristic whether we need to print metatable or not. // For the sake of compiling with -Wall -Werror we don't print // metatable for static part. int need_metatable = 0;