1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

Fix hex escapes.

This commit is contained in:
Calvin Rose 2018-08-23 10:11:19 -04:00
parent 1b009b4f1f
commit 5fcb0095d4

View File

@ -191,7 +191,7 @@ static void popstate(DstParser *p, Dst val) {
static int checkescape(uint8_t c) {
switch (c) {
default: return -1;
case 'h': return 1;
case 'x': return 1;
case 'n': return '\n';
case 't': return '\t';
case 'r': return '\r';