diff options
| author | Josh Lloyd | 2019-09-25 17:53:30 +1200 |
|---|---|---|
| committer | Damien George | 2019-09-26 16:04:56 +1000 |
| commit | 7d58a197cffa7c0dd3686402d2e381812bb8ddeb (patch) | |
| tree | 5cdf657c988c65f7ada0a5b489220d51849b189f /tools | |
| parent | b596638b9b28975adee4a06a92497b5d9dbba34c (diff) | |
py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.
Fixes #5140.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/mpy-tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index 557ee98ff..c6f90e4f8 100755 --- a/tools/mpy-tool.py +++ b/tools/mpy-tool.py @@ -70,7 +70,7 @@ class QStrType: self.qstr_id = 'MP_QSTR_' + self.qstr_esc # Initialise global list of qstrs with static qstrs -global_qstrs = [None] # MP_QSTR_NULL should never be referenced +global_qstrs = [None] # MP_QSTRnull should never be referenced for n in qstrutil.static_qstr_list: global_qstrs.append(QStrType(n)) |
