Improved error message for unterminated string literals (fixes #243)