summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-26 22:40:35 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-26 22:40:35 +0000
commit41eb6086b757a3ca1b2507a15a9ffcce2ad27d1f (patch)
treed5dcdddb6b0e823125beda1c4689363336f1c7e4 /py/runtime.c
parentd5e81826ecc20ae3f862b7a6ae469990fd4c5b38 (diff)
downloadmicropython-41eb6086b757a3ca1b2507a15a9ffcce2ad27d1f.tar.gz
micropython-41eb6086b757a3ca1b2507a15a9ffcce2ad27d1f.zip
py: Remove more var arg names fro macros with var args.
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/runtime.c b/py/runtime.c
index b9caf04570..ca08ce3d1f 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -25,10 +25,10 @@
#define DEBUG_PRINT (1)
#define WRITE_CODE (1)
#define DEBUG_printf DEBUG_printf
-#define DEBUG_OP_printf(args...) DEBUG_printf(args)
+#define DEBUG_OP_printf(...) DEBUG_printf(__VA_ARGS__)
#else // don't print debugging info
-#define DEBUG_printf(args...) (void)0
-#define DEBUG_OP_printf(args...) (void)0
+#define DEBUG_printf(...) (void)0
+#define DEBUG_OP_printf(...) (void)0
#endif
// locals and globals need to be pointers because they can be the same in outer module scope