Handle EOF in string constants