Commit b3110f58 authored by Michael Büsch's avatar Michael Büsch

Terminate all END_STRUCT with semicolon

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent c686b1b6
......@@ -294,7 +294,7 @@ END_DATA_BLOCK
// ... Insert data structure definitions here ...
END_STRUCT
END_STRUCT;
BEGIN
// ... Insert data initializations here ...
......
......@@ -308,7 +308,7 @@ STRUCT
VARIABLE4 : BOOL;
VARIABLE5 : BOOL;
VARIABLE6 : INT;
END_STRUCT
END_STRUCT;
BEGIN
VARIABLE0 := 1337;
VARIABLE1 := DW#16#DEADBEEF;
......@@ -345,7 +345,7 @@ DATA_BLOCK DB 12
TITLE = global data block 12
STRUCT
foo : INT;
END_STRUCT
END_STRUCT;
BEGIN
foo := 12;
END_DATA_BLOCK
......@@ -356,7 +356,7 @@ DATA_BLOCK DB 13
TITLE = global data block 13
STRUCT
bar : INT;
END_STRUCT
END_STRUCT;
BEGIN
bar := 13;
END_DATA_BLOCK
......@@ -467,7 +467,7 @@ STRUCT
VAR1 : ARRAY [1 .. 2, 0 .. 1] OF INT;
VAR2 : ARRAY [1 .. 2] OF DINT;
VAR3 : ARRAY [1 .. 10] OF BOOL;
END_STRUCT
END_STRUCT;
BEGIN
VAR0[1] := 91;
VAR0[2] := 92;
......
......@@ -47,7 +47,7 @@ END_ORGANIZATION_BLOCK
DATA_BLOCK DB 1
STRUCT
VARIABLE : DWORD;
END_STRUCT
END_STRUCT;
BEGIN
VARIABLE := DW#16#1;
END_DATA_BLOCK
......@@ -47,7 +47,7 @@ END_ORGANIZATION_BLOCK
DATA_BLOCK DB 1
STRUCT
VARIABLE : DWORD;
END_STRUCT
END_STRUCT;
BEGIN
VARIABLE := DW#16#1;
END_DATA_BLOCK
......@@ -91,7 +91,7 @@ DATA_BLOCK DB 1
VERSION : 0.1
STRUCT
// Data structure
END_STRUCT
END_STRUCT;
BEGIN
END_DATA_BLOCK
......
......@@ -2,7 +2,7 @@ DATA_BLOCK DB 1
STRUCT
Value : INT;
VAR0 : INT;
END_STRUCT
END_STRUCT;
BEGIN
Value := 8290;
VAR0 := 0;
......
......@@ -583,7 +583,7 @@ DATA_BLOCK DB 3
STRUCT
pointer_0 : DWORD;
pointer_1 : DWORD;
END_STRUCT
END_STRUCT;
BEGIN
pointer_0 := DW#16#0;
pointer_1 := DW#16#0;
......
......@@ -10,7 +10,7 @@ END_FUNCTION_BLOCK
DATA_BLOCK "Data_1"
STRUCT
VAR0 : INT;
END_STRUCT
END_STRUCT;
BEGIN
VAR0 := 123;
END_DATA_BLOCK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment