diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2024-03-26 15:23:21 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-03-26 22:52:25 +1100 |
commit | d694ac6e1b316ad3aaed2589eb261a52aa6e22c9 (patch) | |
tree | 58743bcb02e05fa89c3eb4d6893429ea5aee5ee3 /py/qstr.c | |
parent | 57de9da35233b4120a00386c52485e68bbc931fb (diff) |
py/makeqstrdata.py: Ensure that scope names get low qstr values.
Originally implemented in a patch file provided by @ironss-iotec.
Fixes issue #14093.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/qstr.c')
-rw-r--r-- | py/qstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ size_t qstr_compute_hash(const byte *data, size_t len) { // it is part of the .mpy ABI. See the top of py/persistentcode.c and // static_qstr_list in makeqstrdata.py. This pool is unsorted (although in a // future .mpy version we could re-order them and make it sorted). It also -// contains additional qstrs that must have IDs <256, see operator_qstr_list +// contains additional qstrs that must have IDs <256, see unsorted_qstr_list // in makeqstrdata.py. #if MICROPY_QSTR_BYTES_IN_HASH const qstr_hash_t mp_qstr_const_hashes_static[] = { |