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:
parent
1b009b4f1f
commit
5fcb0095d4
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user