diff options
author | Josh Lloyd <j.nevercast@gmail.com> | 2019-09-25 17:53:30 +1200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-09-26 16:04:56 +1000 |
commit | 7d58a197cffa7c0dd3686402d2e381812bb8ddeb (patch) | |
tree | 5cdf657c988c65f7ada0a5b489220d51849b189f /py/makeqstrdata.py | |
parent | b596638b9b28975adee4a06a92497b5d9dbba34c (diff) | |
download | micropython-7d58a197cffa7c0dd3686402d2e381812bb8ddeb.tar.gz micropython-7d58a197cffa7c0dd3686402d2e381812bb8ddeb.zip |
py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.
Fixes #5140.
Diffstat (limited to 'py/makeqstrdata.py')
-rw-r--r-- | py/makeqstrdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py index 163b7fce75..7799be0a93 100644 --- a/py/makeqstrdata.py +++ b/py/makeqstrdata.py @@ -339,7 +339,7 @@ def print_qstr_data(qcfgs, qstrs): print('') # add NULL qstr with no hash or data - print('QDEF(MP_QSTR_NULL, (const byte*)"%s%s" "")' % ('\\x00' * cfg_bytes_hash, '\\x00' * cfg_bytes_len)) + print('QDEF(MP_QSTRnull, (const byte*)"%s%s" "")' % ('\\x00' * cfg_bytes_hash, '\\x00' * cfg_bytes_len)) # go through each qstr and print it out for order, ident, qstr in sorted(qstrs.values(), key=lambda x: x[0]): |