Error 522 - END TYPE expected

END TYPE expected - The compiler found a TYPE statement without a terminating END TYPE statement.