py/emitglue: Host definition of mp_verbose_flag.

This may not seem like the ideal place, but is actually the only place
in py/ where it gets referenced, so is just right.
This commit is contained in:
Paul Sokolovsky
2015-11-21 16:34:57 +02:00
parent 72bd172b30
commit 295ea12411
3 changed files with 4 additions and 3 deletions

View File

@@ -45,6 +45,10 @@
#define DEBUG_OP_printf(...) (void)0
#endif
#if MICROPY_DEBUG_PRINTERS
mp_uint_t mp_verbose_flag = 0;
#endif
struct _mp_raw_code_t {
mp_raw_code_kind_t kind : 3;
mp_uint_t scope_flags : 7;