Daniele Bartolini 10 лет назад
Родитель
Сommit
fd8f2b9e71
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/lua/lua_stack.h

+ 2 - 1
src/lua/lua_stack.h

@@ -42,7 +42,8 @@
 	#define CHECKSTRING(stack, i) luaL_checkstring(stack, i)
 
 	#define LUA_ASSERT(condition, stack, msg, ...) do { if (!(condition)) {\
-		stack.push_fstring("\nLua assertion failed: %s\n\t" msg "\n", #condition, ##__VA_ARGS__); lua_error(stack.state()); }} while (0);
+		stack.push_fstring("\nLua assertion failed: %s\n\t" msg "\n", #condition, ##__VA_ARGS__);\
+		lua_error(stack.state()); }} while (0);
 #else
 	#define CHECKUDATA(stack, i, expected) lua_touserdata(stack, i)
 	#define CHECKLIGHTDATA(stack, i, cf, expected) lua_touserdata(stack, i)