diff options
Diffstat (limited to 'lib/json')
| -rw-r--r-- | lib/json/CHANGES.md | 4 | ||||
| -rw-r--r-- | lib/json/json.tm | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/json/CHANGES.md b/lib/json/CHANGES.md index 42ae752c..6c67c96d 100644 --- a/lib/json/CHANGES.md +++ b/lib/json/CHANGES.md @@ -1,5 +1,9 @@ # Version History +## v1.1 + +Update syntax for Tomo. + ## v1.0 Initial version diff --git a/lib/json/json.tm b/lib/json/json.tm index 8127ce52..ab9b95dd 100644 --- a/lib/json/json.tm +++ b/lib/json/json.tm @@ -79,7 +79,7 @@ enum JSON( string ++= esc pos += 2 else if m := text.matching_pattern($Pat/u{4 digit}/) - string ++= Text.from_codepoints([Int32.parse(m.captures[1])!]) + string ++= Text.from_codepoints([Int32.parse(m.captures[1]!)!]) pos += 1 + m.text.length else if remainder |
