summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitcommon.c
diff options
context:
space:
mode:
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 bfcdad7973..ff6457289a 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