summaryrefslogtreecommitdiff
path: root/py/parsenum.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/parsenum.c
parentb596638b9b28975adee4a06a92497b5d9dbba34c (diff)
py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.
Fixes #5140.
Diffstat (limited to 'py/parsenum.c')
-rw-r--r--py/parsenum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parsenum.c b/py/parsenum.c
index ae9b83419..2b01b7259 100644
--- a/py/parsenum.c
+++ b/py/parsenum.c
@@ -41,7 +41,7 @@ STATIC NORETURN void raise_exc(mp_obj_t exc, mp_lexer_t *lex) {
// exception's type from ValueError to SyntaxError and add traceback info
if (lex != NULL) {
((mp_obj_base_t*)MP_OBJ_TO_PTR(exc))->type = &mp_type_SyntaxError;
- mp_obj_exception_add_traceback(exc, lex->source_name, lex->tok_line, MP_QSTR_NULL);
+ mp_obj_exception_add_traceback(exc, lex->source_name, lex->tok_line, MP_QSTRnull);
}
nlr_raise(exc);
}