Added recovering support when dangling comma is present.