Allow backslash-escaping of newlines

darcs-hash:20060217164119-ac50b-6efd2491fb7f504ad26ca35b2a7421d24c61ec63.gz
This commit is contained in:
axel 2006-02-18 02:41:19 +10:00
parent 9cd2dbc9e7
commit 8ac1688c89

View File

@ -507,8 +507,22 @@ void tok_next( tokenizer *tok )
return;
}
while( my_iswspace(*(tok->buff) ) )
tok->buff++;
while( 1 )
{
if( my_iswspace(*(tok->buff) ) )
{
tok->buff++;
}
else
{
if(( *(tok->buff) == L'\\') &&( *(tok->buff+1) == L'\n') )
{
tok->buff+=2;
}
break;
}
}
if( *tok->buff == L'#')
{