Reapplied patch to support 0'\s and 0'\z.
This commit is contained in:
parent
49daa4ab0b
commit
f83cdde766
@ -315,6 +315,8 @@ read_quoted_char(int *scan_nextp, IOSTREAM *inp_stream)
|
|||||||
return '\n';
|
return '\n';
|
||||||
case 'r':
|
case 'r':
|
||||||
return '\r';
|
return '\r';
|
||||||
|
case 's': /* space */
|
||||||
|
return ' ';
|
||||||
case 't':
|
case 't':
|
||||||
return '\t';
|
return '\t';
|
||||||
case 'u':
|
case 'u':
|
||||||
@ -357,6 +359,8 @@ read_quoted_char(int *scan_nextp, IOSTREAM *inp_stream)
|
|||||||
}
|
}
|
||||||
case 'v':
|
case 'v':
|
||||||
return '\v';
|
return '\v';
|
||||||
|
case 'z': /* Prolog end-of-file */
|
||||||
|
return -1;
|
||||||
case '\\':
|
case '\\':
|
||||||
return '\\';
|
return '\\';
|
||||||
case '\'':
|
case '\'':
|
||||||
|
Reference in New Issue
Block a user