Semicolon error reporting improved