summaryrefslogtreecommitdiff
path: root/py/emitcommon.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-26 16:57:08 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-26 16:57:08 +0000
commit1dc76af7bff6c31ab7b5da4954fa5573144d9fb1 (patch)
tree52f942d793686e11aa43fbf7c722ad272d79a9f1 /py/emitcommon.c
parentc5ac2ac590bc2c413880dfd130be245a0c37c35a (diff)
py: Remove name of var arg from macros with var args.
Diffstat (limited to 'py/emitcommon.c')
-rw-r--r--py/emitcommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitcommon.c b/py/emitcommon.c
index bfcdad797..ff6457289 100644
--- a/py/emitcommon.c
+++ b/py/emitcommon.c
@@ -13,7 +13,7 @@
#include "runtime0.h"
#include "emit.h"
-#define EMIT(fun, arg...) (emit_method_table->fun(emit, ##arg))
+#define EMIT(fun, ...) (emit_method_table->fun(emit, __VA_ARGS__))
void emit_common_load_id(emit_t *emit, const emit_method_table_t *emit_method_table, scope_t *scope, qstr qstr) {
// assumes pass is greater than 1, ie that all identifiers are defined in the scope