Allow backslash of quotes within quotes

darcs-hash:20060212161331-ac50b-c25affaa4b18e1654dab3d08debafa95017009ea.gz
This commit is contained in:
axel
2006-02-13 02:13:31 +10:00
parent b6cd723eb7
commit 7eb3a5a17d
5 changed files with 65 additions and 15 deletions

View File

@@ -272,11 +272,11 @@ static void read_string( tokenizer *tok )
case L'"':
{
wchar_t *end = quote_end( tok->buff );
const wchar_t *end = quote_end( tok->buff );
tok->last_quote = *tok->buff;
if( end )
{
tok->buff=end;
tok->buff=(wchar_t *)end;
}
else
{
@@ -311,10 +311,10 @@ static void read_string( tokenizer *tok )
case L'\'':
case L'\"':
{
wchar_t *end = quote_end( tok->buff );
const wchar_t *end = quote_end( tok->buff );
if( end )
{
tok->buff=end;
tok->buff=(wchar_t *)end;
}
else
do_loop = 0;