Reapplied patch to support 0'\s and 0'\z.

This commit is contained in:
Paulo Moura 2011-04-30 18:12:56 +02:00
parent 49daa4ab0b
commit f83cdde766

View File

@ -315,6 +315,8 @@ read_quoted_char(int *scan_nextp, IOSTREAM *inp_stream)
return '\n';
case 'r':
return '\r';
case 's': /* space */
return ' ';
case 't':
return '\t';
case 'u':
@ -357,6 +359,8 @@ read_quoted_char(int *scan_nextp, IOSTREAM *inp_stream)
}
case 'v':
return '\v';
case 'z': /* Prolog end-of-file */
return -1;
case '\\':
return '\\';
case '\'':