summaryrefslogtreecommitdiff
path: root/py/repl.c
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/repl.c
parentb596638b9b28975adee4a06a92497b5d9dbba34c (diff)
py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.
Fixes #5140.
Diffstat (limited to 'py/repl.c')
-rw-r--r--py/repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/repl.c b/py/repl.c
index da0fefb3a..9389b3424 100644
--- a/py/repl.c
+++ b/py/repl.c
@@ -159,7 +159,7 @@ size_t mp_repl_autocomplete(const char *str, size_t len, const mp_print_t *print
if (str < top) {
// a complete word, lookup in current object
qstr q = qstr_find_strn(s_start, s_len);
- if (q == MP_QSTR_NULL) {
+ if (q == MP_QSTRnull) {
// lookup will fail
return 0;
}