improve string literal error reporting