try fixing \c handling.

This commit is contained in:
Vitor Santos Costa 2014-08-04 21:28:45 -05:00
parent bc16bf83ec
commit 7a01daf8dd

View File

@ -307,6 +307,11 @@ read_quoted_char(int *scan_nextp, IOSTREAM *inp_stream)
return '\b';
case 'c':
while (chtype((ch = getchrq(inp_stream))) == BS);
{
int och = ch;
ch = getchrq(inp_stream);
return och;
}
goto do_switch;
case 'd':
return 127;