Allow escaped newlines within qoutes, expand them to themselves

darcs-hash:20061009012248-ac50b-a403705cfe166c7686a168bc017c50c316c28161.gz
This commit is contained in:
axel 2006-10-09 11:22:48 +10:00
parent a074cd62bc
commit a321505351

View File

@ -1172,6 +1172,7 @@ wchar_t *unescape( const wchar_t * orig, int unescape_special )
{
case '\\':
case L'\'':
case L'\n':
{
in[out_pos]=in[in_pos];
break;
@ -1231,6 +1232,7 @@ wchar_t *unescape( const wchar_t * orig, int unescape_special )
case '\\':
case L'$':
case '"':
case '\n':
{
in[out_pos]=in[in_pos];
break;