[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (rc1) now available
- From: François Perrad <francois.perrad@...>
- Date: Sun, 19 Apr 2020 09:58:34 +0200
remove unused macro
diff --git a/src/loadlib.c b/src/loadlib.c
index 56167f6..96a4296 100644
--- a/src/loadlib.c
+++ b/src/loadlib.c
@@ -269,9 +269,6 @@
#endif
-#define AUXMARK "\1" /* auxiliary mark */
-
-
/*
** return registry.LUA_NOENV as a boolean
*/
diff --git a/src/luac.c b/src/luac.c
index 9417a88..7288432 100644
--- a/src/luac.c
+++ b/src/luac.c
@@ -329,7 +329,6 @@
#define COMMENT "\t; "
#define EXTRAARG GETARG_Ax(code[pc+1])
-#define EXTRAARGC EXTRAARG*(MAXARG_C+1)
#define ISK (isk ? "k" : "")
static void PrintCode(const Proto* f)
--
remove extraneous comma
diff --git a/src/lvm.h b/src/lvm.h
index 7103857..d20f85a 100644
--- a/src/lvm.h
+++ b/src/lvm.h
@@ -43,7 +43,7 @@
typedef enum {
F2Ieq, /* no rounding; accepts only integral values */
F2Ifloor, /* takes the floor of the number */
- F2Iceil, /* takes the ceil of the number */
+ F2Iceil /* takes the ceil of the number */
} F2Imod;
--
remove useless include
note: stddef.h could be more useful in lopnames.h
diff --git a/src/lopcodes.c b/src/lopcodes.c
index 4e983e0..c67aa22 100644
--- a/src/lopcodes.c
+++ b/src/lopcodes.c
@@ -10,8 +10,6 @@
#include "lprefix.h"
-#include <stddef.h>
-
#include "lopcodes.h"
--