diff options
author | Damien George <damien@micropython.org> | 2023-03-08 14:10:02 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-04-27 18:03:06 +1000 |
commit | b1229efbd1509654dec6053865ab828d769e29db (patch) | |
tree | e1a65606dd1f0a8cfe2af08f9c4ff821fb575b02 /py/parse.c | |
parent | e160fe7bc64212a3ce56f5478f208e2b4d343a8b (diff) |
all: Fix spelling mistakes based on codespell check.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/parse.c')
-rw-r--r-- | py/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/parse.c b/py/parse.c index 62de3282b..c228d3a34 100644 --- a/py/parse.c +++ b/py/parse.c @@ -553,7 +553,7 @@ STATIC mp_parse_node_t make_node_const_object(parser_t *parser, size_t src_line, return (mp_parse_node_t)pn; } -// Create a parse node represeting a constant object, possibly optimising the case of +// Create a parse node representing a constant object, possibly optimising the case of // an integer, by putting the (small) integer value directly in the parse node itself. STATIC mp_parse_node_t make_node_const_object_optimised(parser_t *parser, size_t src_line, mp_obj_t obj) { if (mp_obj_is_small_int(obj)) { @@ -1002,7 +1002,7 @@ STATIC void push_result_rule(parser_t *parser, size_t src_line, uint8_t rule_id, #if MICROPY_COMP_CONST_TUPLE if (build_tuple(parser, src_line, rule_id, num_args)) { - // we built a tuple from this rule so return straightaway + // we built a tuple from this rule so return straight away return; } #endif |