Allow escaped newlines within qoutes, expand them to themselves
darcs-hash:20061009012248-ac50b-a403705cfe166c7686a168bc017c50c316c28161.gz
This commit is contained in:
parent
a074cd62bc
commit
a321505351
2
common.c
2
common.c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user