# HG changeset patch # User Edouard Tisserant # Date 1723757036 -7200 # Node ID ccf7461e8ff2c58612b735a9e092910b19fc0ccd # Parent f01bd9a40554d7540ec8c51fc4896260a5a1f4bf Add "CONTINUE" ST statement. Matches "Add CONTINUE statement, fix FOR loop accordingly" 8a06b3bb92967b389466b8afa977a995ec605e2d commit in Matiec. diff -r f01bd9a40554 -r ccf7461e8ff2 plcopen/structures.py --- 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