summaryrefslogtreecommitdiff
path: root/py/parsenum.c
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2023-06-06 10:41:23 -0500
committerDamien George <damien@micropython.org>2023-06-14 17:32:01 +1000
commit8cf9898dd3c93f3226d009ebce30f1f1c97b7afb (patch)
treed232b7c92ae293959e889ba2e129247c0b9a8122 /py/parsenum.c
parent034502bc72e8d1b6371ce2970fdba4b7f4f41710 (diff)
py/parsenum: Fix typo in #endif comment.
This fixes a `#endif` comment to exactly match the `#if`. Signed-off-by: David Lechner <david@pybricks.com>
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 d59715fdc..e3ad8070c 100644
--- a/py/parsenum.c
+++ b/py/parsenum.c
@@ -214,7 +214,7 @@ static void accept_digit(mp_float_t *p_dec_val, int dig, int *p_exp_extra, int i
}
}
}
-#endif // MICROPY_BUILTINS_FLOAT
+#endif // MICROPY_PY_BUILTINS_FLOAT
#if MICROPY_PY_BUILTINS_COMPLEX
mp_obj_t mp_parse_num_decimal(const char *str, size_t len, bool allow_imag, bool force_complex, mp_lexer_t *lex)