Compiler Error C0010

Message: Unexpected end-of-file found: '<token>' expected.

Possible error cause: Syntax error

Error correction: Use the correct syntax.

Example of the error:

PROGRAM MAIN
VAR
    i: INT;
END_VAR

FOR i := 0 TO 2 DO
;

Message:

C0010: Unexpected end-of-file found: 'END_FOR' expected