summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-05-29 10:08:14 +0300
committerVille Skyttä <ville.skytta@iki.fi>2017-05-29 11:36:05 +0300
commitca16c3821053e5bf2b87aeb10007f73f31dc1eac (patch)
tree28b394ba7ef2e107c5fb3112c7ba97f01b6915f1 /py/compile.c
parente5e49bedcb0ed353ee22ba99078301d9ccd87dbf (diff)
downloadmicropython-ca16c3821053e5bf2b87aeb10007f73f31dc1eac.tar.gz
micropython-ca16c3821053e5bf2b87aeb10007f73f31dc1eac.zip
various: Spelling fixes
Diffstat (limited to 'py/compile.c')
-rw-r--r--py/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/compile.c b/py/compile.c
index 8533e0528f..3b6a264d61 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -939,7 +939,7 @@ STATIC void c_del_stmt(compiler_t *comp, mp_parse_node_t pn) {
}
}
} else {
- // some arbitrary statment that we can't delete (eg del 1)
+ // some arbitrary statement that we can't delete (eg del 1)
goto cannot_delete;
}
@@ -1090,7 +1090,7 @@ STATIC void compile_import_name(compiler_t *comp, mp_parse_node_struct_t *pns) {
STATIC void compile_import_from(compiler_t *comp, mp_parse_node_struct_t *pns) {
mp_parse_node_t pn_import_source = pns->nodes[0];
- // extract the preceeding .'s (if any) for a relative import, to compute the import level
+ // extract the preceding .'s (if any) for a relative import, to compute the import level
uint import_level = 0;
do {
mp_parse_node_t pn_rel;