--- a/misc/liblua/lauxlib.c Sun Jan 19 00:18:28 2014 +0400
+++ b/misc/liblua/lauxlib.c Tue Jan 21 22:38:13 2014 +0100
@@ -25,12 +25,12 @@
#include "lauxlib.h"
-#define FREELIST_REF 0 /* free list of references */
+#define FREELIST_REF 0 /* free list of references */
/* convert a stack index to positive */
-#define abs_index(L, i) ((i) > 0 || (i) <= LUA_REGISTRYINDEX ? (i) : \
- lua_gettop(L) + (i) + 1)
+#define abs_index(L, i) ((i) > 0 || (i) <= LUA_REGISTRYINDEX ? (i) : \
+ lua_gettop(L) + (i) + 1)
/*
@@ -389,10 +389,10 @@
*/
-#define bufflen(B) ((B)->p - (B)->buffer)
-#define bufffree(B) ((size_t)(LUAL_BUFFERSIZE - bufflen(B)))
+#define bufflen(B) ((B)->p - (B)->buffer)
+#define bufffree(B) ((size_t)(LUAL_BUFFERSIZE - bufflen(B)))
-#define LIMIT (LUA_MINSTACK/2)
+#define LIMIT (LUA_MINSTACK/2)
static int emptybuffer (luaL_Buffer *B) {
@@ -574,7 +574,8 @@
lf.f = freopen(filename, "rb", lf.f); /* reopen in binary mode */
if (lf.f == NULL) return errfile(L, "reopen", fnameindex);
/* skip eventual `#!...' */
- while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
+ while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0])
+ /* do nothing */ ;
lf.extraline = 0;
}
ungetc(c, lf.f);