hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit f20f3a7b8ececdd939f47d3bee4ab9449c1e339f
parent 7a9866a08b1b3a8fc8b37bc76f3ad93e032122f8
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sat, 14 May 2022 22:46:14 -0400

encoding::json: return invalid on invalid escape

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mencoding/json/lex.ha | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/encoding/json/lex.ha b/encoding/json/lex.ha @@ -302,6 +302,8 @@ fn scan_escape(lex: *lexer) (rune | error) = { case => return invalid; }; + case => + return invalid; }; };