Fixed SFC keyword definition
authorLaurent Bessard
Wed, 27 Feb 2013 11:25:39 +0100
changeset 949 aa24cf3b7009
parent 948 89fead207c35
child 950 bf896711921c
Fixed SFC keyword definition
plcopen/structures.py
--- a/plcopen/structures.py	Wed Feb 27 11:23:42 2013 +0100
+++ b/plcopen/structures.py	Wed Feb 27 11:25:39 2013 +0100
@@ -661,7 +661,7 @@
 # Keywords for Structured Function Chart
 SFC_BLOCK_START_KEYWORDS = ["ACTION", "INITIAL_STEP", "STEP", "TRANSITION"]
 SFC_BLOCK_END_KEYWORDS = ["END_ACTION", "END_STEP", "END_TRANSITION"]
-SFC_KEYWORDS = ["FROM", "TO"] + SFC_BLOCK_START_KEYWORDS + SFC_BLOCK_START_KEYWORDS
+SFC_KEYWORDS = ["FROM", "TO"] + SFC_BLOCK_START_KEYWORDS + SFC_BLOCK_END_KEYWORDS
 
 
 # Keywords for Instruction List