Message: Unexpected Pragma: '<pragma name>' found without matching 'if'
Possible error cause: The IF condition is missing when using the pragma.
Error correction: Complete the IF condition of the pragma.
Example of the error:
PROGRAM PLC_PRG
VAR
i : INT;
END_VAR
i := 5;
{END_IF}
--> C0081: Unexpected Pragma: 'END_IF' found without matching 'if'
Error correction:
Example:
{IF <expression>}
i := 5;
{END_IF}