diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-26 23:14:59 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-26 23:17:44 +0200 |
commit | 2447a5b582503b70936681702062704e2e9f44d3 (patch) | |
tree | 6f747fe74cc8400df1a23a74cbb0b9034df5bc60 /py/showbc.c | |
parent | c12b2213c16ba8839981c362c4d5f133a84b374b (diff) |
py: Support closures with default args.
Diffstat (limited to 'py/showbc.c')
-rw-r--r-- | py/showbc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/showbc.c b/py/showbc.c index 9bdf811d9..eb743bd29 100644 --- a/py/showbc.c +++ b/py/showbc.c @@ -371,6 +371,11 @@ void mp_byte_code_print(const byte *ip, int len) { printf("MAKE_CLOSURE " UINT_FMT, unum); break; + case MP_BC_MAKE_CLOSURE_DEFARGS: + DECODE_UINT; + printf("MAKE_CLOSURE_DEFARGS " UINT_FMT, unum); + break; + case MP_BC_CALL_FUNCTION: DECODE_UINT; printf("CALL_FUNCTION n=" UINT_FMT " nkw=" UINT_FMT, unum & 0xff, (unum >> 8) & 0xff); |