From 42e0c593084784cb0b630d99b8361bc88abadb78 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 14 Mar 2015 13:11:35 +0000 Subject: py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options. These allow to fine-tune the compiler to select whether it optimises tuple assignments of the form a, b = c, d and a, b, c = d, e, f. Sensible defaults are provided. --- unix-cpy/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'unix-cpy') diff --git a/unix-cpy/mpconfigport.h b/unix-cpy/mpconfigport.h index 2c1d5d7b27..9d446b68a1 100644 --- a/unix-cpy/mpconfigport.h +++ b/unix-cpy/mpconfigport.h @@ -27,6 +27,7 @@ // options to control how Micro Python is built #define MICROPY_EMIT_CPYTHON (1) +#define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN (1) #define MICROPY_HELPER_LEXER_UNIX (1) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE) #define MICROPY_PY_IO (0) -- cgit v1.2.3