瀏覽代碼

small fix in INSTATE macro

Simon Van Mierlo 9 年之前
父節點
當前提交
0525773230
共有 1 個文件被更改,包括 1 次插入1 次删除
  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]
                     )
                 ]
             )