Browse Source

small fix in INSTATE macro

Simon Van Mierlo 9 years ago
parent
commit
0525773230
1 changed files with 1 additions and 1 deletions
  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]
                     )
                 ]
             )