mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix escape sequence handling in encoding::json
This commit is contained in:
committed by
Christoffer Lerno
parent
2e94ea1a0d
commit
94abb3bd0c
@@ -386,6 +386,7 @@ fn JsonTokenType! lex_string(JsonContext* context)
|
||||
default:
|
||||
return JsonParsingError.INVALID_ESCAPE_SEQUENCE?;
|
||||
}
|
||||
context.last_string.append(c);
|
||||
}
|
||||
return STRING;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user