Lichen

Change of translator.py

1034:2df62f615d0c
translator.py value-replacement
     1.1 --- a/translator.py	Sun May 19 22:54:42 2024 +0200
     1.2 +++ b/translator.py	Sun May 19 22:56:31 2024 +0200
     1.3 @@ -2293,10 +2293,10 @@
     1.4          if self.uses_temp(name, "__tmp_values") and self.max_accessor_index:
     1.5              self.writeline("__attr __tmp_values[%d];" % self.max_accessor_index)
     1.6  
     1.7 -        if self.uses_temp(name, "__tmp_attr_refs"):
     1.8 +        if self.uses_temp(name, "__tmp_attr_refs") and self.max_attribute_ref_index:
     1.9              self.writeline("__attr *__tmp_attr_refs[%d];" % self.max_attribute_ref_index)
    1.10  
    1.11 -        if self.uses_temp(name, "__tmp_results"):
    1.12 +        if self.uses_temp(name, "__tmp_results") and self.max_result_target:
    1.13              self.writeline("__attr __tmp_results[%d] = {0};" % self.max_result_target)
    1.14  
    1.15          if self.uses_temp(name, "__tmp_private_context"):