diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-10 22:51:35 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-10 22:51:35 +0000 |
commit | f1081f400b3dd072fd46704d93557bd40ae617e5 (patch) | |
tree | 418dbb67431fe21ce9ca8578c3ec271a52ceded5 /py/compile.c | |
parent | ed378cd12f05c78c735dffe1c0a6b3cb4337e67d (diff) | |
parent | 724026ab402a13a2344ac6679a665394777ff0fa (diff) | |
download | micropython-f1081f400b3dd072fd46704d93557bd40ae617e5.tar.gz micropython-f1081f400b3dd072fd46704d93557bd40ae617e5.zip |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'py/compile.c')
-rw-r--r-- | py/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/compile.c b/py/compile.c index 1abe08c432..521c5290cd 100644 --- a/py/compile.c +++ b/py/compile.c @@ -2764,7 +2764,7 @@ void compile_scope(compiler_t *comp, scope_t *scope, pass_kind_t pass) { apply_to_single_or_list(comp, pns->nodes[1], PN_typedargslist, compile_scope_func_param); } - assert(MP_PARSE_NODE_IS_NULL(pns->nodes[2])); // 2 is something... + // pns->nodes[2] is return/whole function annotation compile_node(comp, pns->nodes[3]); // 3 is function body // emit return if it wasn't the last opcode |