summaryrefslogtreecommitdiff
path: root/py/scope.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-10-22 23:45:37 +0100
committerDamien George <damien.p.george@gmail.com>2015-11-13 12:49:18 +0000
commit3a3db4dcf0400cffef860f61a84979cb1f7a7541 (patch)
treecfdcb6931cb120f2f993e10e7db6dc14f40b1ded /py/scope.h
parent9b7f583b0ca37ee87e5fb82e2d65fcd96a609b2f (diff)
py: Put all bytecode state (arg count, etc) in bytecode.
Diffstat (limited to 'py/scope.h')
-rw-r--r--py/scope.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/scope.h b/py/scope.h
index 0ea003516..fac936a72 100644
--- a/py/scope.h
+++ b/py/scope.h
@@ -66,6 +66,7 @@ typedef struct _scope_t {
uint8_t emit_options; // see compile.h
uint16_t num_pos_args;
uint16_t num_kwonly_args;
+ uint16_t num_def_pos_args;
uint16_t num_locals;
uint16_t stack_size; // maximum size of the locals stack
uint16_t exc_stack_size; // maximum size of the exception stack