diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/json/json.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/json/json.tm b/lib/json/json.tm index ab9b95dd..1ac19426 100644 --- a/lib/json/json.tm +++ b/lib/json/json.tm @@ -65,8 +65,8 @@ enum JSON( string := "" pos := 2 escapes := {"n"="\n", "t"="\t", "r"="\r", '"'='"', "\\"="\\", "/"="/", "b"="\b", "f"="\f"} - while pos <= text.length - c := text[pos] + repeat + c := text[pos] or stop if c == '"' if remainder remainder[] = text.from(pos + 1) |
