support missing last semicolon