From 0a2e9650f5383bc1190d6b27a3d923e313c3d879 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 31 Jan 2016 22:24:16 +0000 Subject: py: Add ability to have frozen persistent bytecode from .mpy files. The config variable MICROPY_MODULE_FROZEN is now made of two separate parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY. This allows to have none, either or both of frozen strings and frozen mpy files (aka frozen bytecode). --- py/qstr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/qstr.h') diff --git a/py/qstr.h b/py/qstr.h index b68f60a44..b5c261f0d 100644 --- a/py/qstr.h +++ b/py/qstr.h @@ -40,7 +40,7 @@ enum { #define QDEF(id, str) id, #include "genhdr/qstrdefs.generated.h" #undef QDEF - MP_QSTR_number_of, + MP_QSTRnumber_of, // no underscore so it can't clash with any of the above }; typedef size_t qstr; -- cgit v1.2.3