From a321505351c015dcaebf1c14c67549c0e3f4b2fa Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 9 Oct 2006 11:22:48 +1000 Subject: Allow escaped newlines within qoutes, expand them to themselves darcs-hash:20061009012248-ac50b-a403705cfe166c7686a168bc017c50c316c28161.gz --- common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common.c') diff --git a/common.c b/common.c index 1e68908c..c0d43cef 100644 --- a/common.c +++ b/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; -- cgit v1.2.3