ignore comments and hack around variable assignments