Prechádzať zdrojové kódy

small fix in INSTATE macro

Simon Van Mierlo 9 rokov pred
rodič
commit
0525773230

+ 1 - 1
src/python_sccd/python_sccd_compiler/generic_generator.py

@@ -767,7 +767,7 @@ class GenericGenerator(Visitor):
                 GLC.SelfProperty("inState"),
                 [
                     GLC.ArrayExpression(
-                        [GLC.String(state_string) for state_string in in_state_call.state_strings]
+                        [GLC.String(target_node.new_full_name) for target in in_state_call.targets for target_node in target.target_nodes]
                     )
                 ]
             )