aboutsummaryrefslogtreecommitdiff
path: root/py/makeqstrdata.py
diff options
context:
space:
mode:
authorJosh Lloyd <j.nevercast@gmail.com>2019-09-25 17:53:30 +1200
committerDamien George <damien.p.george@gmail.com>2019-09-26 16:04:56 +1000
commit7d58a197cffa7c0dd3686402d2e381812bb8ddeb (patch)
tree5cdf657c988c65f7ada0a5b489220d51849b189f /py/makeqstrdata.py
parentb596638b9b28975adee4a06a92497b5d9dbba34c (diff)
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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py
index 163b7fce7..7799be0a9 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]):