shithub: mc

Download patch

ref: 003485264d138db7f41fcde610fa6cbc19944035
parent: 78792ee3796ef75c10ecc635c2962dba9eb58203
author: Carlin Bingham <[email protected]>
date: Tue May 8 00:02:41 EDT 2018

libjson: allow square brackets in strings

--- a/lib/json/parse.myr
+++ b/lib/json/parse.myr
@@ -354,8 +354,8 @@
 
 const unescaped = {c
 	-> c == 0x20 || c == 0x21 || \
-		(c >= 0x23 && c < 0x5b) || \
-		(c > 0x5d && c <= 0x10ffff)
+		(c >= 0x23 && c <= 0x5b) || \
+		(c >= 0x5d && c <= 0x10ffff)
 }
 
 const takespace = {p