support missing last semicolon when parsing block statment