Explorar el Código

small fix in INSTATE macro

Simon Van Mierlo hace 9 años
padre
commit
0525773230
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/python_sccd/python_sccd_compiler/generic_generator.py

+ 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]
                     )
                 ]
             )