소스 검색

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