1.1 --- a/translator.py Sat Sep 02 22:08:53 2023 +0200
1.2 +++ b/translator.py Sun Sep 03 00:24:29 2023 +0200
1.3 @@ -554,6 +554,7 @@
1.4 "<expr>" : attr_expr,
1.5 "<name>" : attr_expr,
1.6 "<assexpr>" : self.in_assignment,
1.7 + "<new_context>" : self.result_target_name or "__NULL",
1.8 }
1.9
1.10 subs.update(self.temp_subs)
1.11 @@ -603,12 +604,12 @@
1.12 instruction = ("__to_error", instruction)
1.13 accessor_test = True
1.14
1.15 - # Intercept accessor storage.
1.16 + # Detect accessor storage.
1.17
1.18 elif instruction[0] == "<set_accessor>":
1.19 accessor_stored = True
1.20
1.21 - # Intercept attribute reference storage.
1.22 + # Detect attribute reference storage.
1.23
1.24 elif instruction[0] == "<set_attr_ref>":
1.25 attribute_ref_stored = True