Add "CONTINUE" ST statement.
Matches "Add CONTINUE statement, fix FOR loop accordingly" 8a06b3bb92967b389466b8afa977a995ec605e2d commit in Matiec.
--- a/plcopen/structures.py Thu Aug 15 23:20:16 2024 +0200
+++ b/plcopen/structures.py Thu Aug 15 23:23:56 2024 +0200
@@ -340,7 +340,7 @@
ST_BLOCK_START_KEYWORDS = ["IF", "ELSIF", "ELSE", "CASE", "FOR", "WHILE", "REPEAT"]
ST_BLOCK_END_KEYWORDS = ["END_IF", "END_CASE", "END_FOR", "END_WHILE", "END_REPEAT"]
ST_KEYWORDS = [
- "TRUE", "FALSE", "THEN", "OF", "TO", "BY", "DO", "DO", "UNTIL", "EXIT",
+ "TRUE", "FALSE", "THEN", "OF", "TO", "BY", "DO", "DO", "UNTIL", "EXIT", "CONTINUE",
"RETURN", "NOT", "MOD", "AND", "XOR", "OR"
] + ST_BLOCK_START_KEYWORDS + ST_BLOCK_END_KEYWORDS