diff options
author | stijn <stijn@ignitron.net> | 2020-09-10 12:22:49 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-09-11 10:51:55 +1000 |
commit | 4b35aa5730cf26992453e3ce7cf74ced4128fe20 (patch) | |
tree | 3873889ae84886b70d778c1dc26d38b8962449b5 /py/parse.c | |
parent | 373b400632bb5371f1e259983850814d2384e667 (diff) |
tools: Write msvc-compatible frozen content.
The msvc compiler doesn't accept zero-sized arrays so let the freezing
process generate compatible C code in case no modules are found and the
involved arrays are all empty. This doesn't affect the functionality in
any way because those arrays only get accessed when mp_frozen_mpy_names
contains names, i.e. when modules are actually found.
Diffstat (limited to 'py/parse.c')
0 files changed, 0 insertions, 0 deletions