Incomplete last statement

If the last sql statement of the parsed input was not correctly terminated with a semicolon the parser swallowed the statement silently. This corrects the behaviour to throw an IOException.