@@ -574,7 +574,7 @@ STATIC void close_over_variables_etc(compiler_t *comp, scope_t *this_scope, int
574
574
for (int j = 0 ; j < this_scope -> id_info_len ; j ++ ) {
575
575
id_info_t * id2 = & this_scope -> id_info [j ];
576
576
if (id2 -> kind == ID_INFO_KIND_FREE && id -> qst == id2 -> qst ) {
577
- // in Micro Python we load closures using LOAD_FAST
577
+ // in MicroPython we load closures using LOAD_FAST
578
578
EMIT_LOAD_FAST (id -> qst , id -> local_num );
579
579
nfree += 1 ;
580
580
}
@@ -662,9 +662,9 @@ STATIC void compile_funcdef_lambdef_param(compiler_t *comp, const byte *p) {
662
662
663
663
if (comp -> have_star ) {
664
664
comp -> num_dict_params += 1 ;
665
- // in Micro Python we put the default dict parameters into a dictionary using the bytecode
665
+ // in MicroPython we put the default dict parameters into a dictionary using the bytecode
666
666
if (comp -> num_dict_params == 1 ) {
667
- // in Micro Python we put the default positional parameters into a tuple using the bytecode
667
+ // in MicroPython we put the default positional parameters into a tuple using the bytecode
668
668
// we need to do this here before we start building the map for the default keywords
669
669
if (comp -> num_default_params > 0 ) {
670
670
EMIT_ARG (build_tuple , comp -> num_default_params );
@@ -708,7 +708,7 @@ STATIC void compile_funcdef_lambdef(compiler_t *comp, scope_t *scope, const byte
708
708
return ;
709
709
}
710
710
711
- // in Micro Python we put the default positional parameters into a tuple using the bytecode
711
+ // in MicroPython we put the default positional parameters into a tuple using the bytecode
712
712
// the default keywords args may have already made the tuple; if not, do it now
713
713
if (comp -> num_default_params > 0 && comp -> num_dict_params == 0 ) {
714
714
EMIT_ARG (build_tuple , comp -> num_default_params );
@@ -3208,7 +3208,7 @@ STATIC void compile_scope_inline_asm(compiler_t *comp, scope_t *scope, pass_kind
3208
3208
#endif
3209
3209
3210
3210
STATIC void scope_compute_things (scope_t * scope ) {
3211
- // in Micro Python we put the *x parameter after all other parameters (except **y)
3211
+ // in MicroPython we put the *x parameter after all other parameters (except **y)
3212
3212
if (scope -> scope_flags & MP_SCOPE_FLAG_VARARGS ) {
3213
3213
id_info_t * id_param = NULL ;
3214
3214
for (int i = scope -> id_info_len - 1 ; i >= 0 ; i -- ) {
@@ -3246,7 +3246,7 @@ STATIC void scope_compute_things(scope_t *scope) {
3246
3246
// compute the index of cell vars
3247
3247
for (int i = 0 ; i < scope -> id_info_len ; i ++ ) {
3248
3248
id_info_t * id = & scope -> id_info [i ];
3249
- // in Micro Python the cells come right after the fast locals
3249
+ // in MicroPython the cells come right after the fast locals
3250
3250
// parameters are not counted here, since they remain at the start
3251
3251
// of the locals, even if they are cell vars
3252
3252
if (id -> kind == ID_INFO_KIND_CELL && !(id -> flags & ID_FLAG_IS_PARAM )) {
@@ -3266,14 +3266,14 @@ STATIC void scope_compute_things(scope_t *scope) {
3266
3266
id_info_t * id2 = & scope -> id_info [j ];
3267
3267
if (id2 -> kind == ID_INFO_KIND_FREE && id -> qst == id2 -> qst ) {
3268
3268
assert (!(id2 -> flags & ID_FLAG_IS_PARAM )); // free vars should not be params
3269
- // in Micro Python the frees come first, before the params
3269
+ // in MicroPython the frees come first, before the params
3270
3270
id2 -> local_num = num_free ;
3271
3271
num_free += 1 ;
3272
3272
}
3273
3273
}
3274
3274
}
3275
3275
}
3276
- // in Micro Python shift all other locals after the free locals
3276
+ // in MicroPython shift all other locals after the free locals
3277
3277
if (num_free > 0 ) {
3278
3278
for (int i = 0 ; i < scope -> id_info_len ; i ++ ) {
3279
3279
id_info_t * id = & scope -> id_info [i ];
0 commit comments