diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-07-10 00:05:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-10 00:05:54 +0200 |
commit | 58f4b4ce2343e8f7a9ab2b22567d7d42764ab68e (patch) | |
tree | 0b7eaea763ff0114a686e05a81184eebf2223d68 /lib | |
parent | 2247ddd12df9f8bf550d614d60d1072070f31ccb (diff) | |
parent | a505fa631d8447c226f95b450e06d8fbd5be788f (diff) | |
download | Nim-58f4b4ce2343e8f7a9ab2b22567d7d42764ab68e.tar.gz |
Merge pull request #4469 from FedericoCeratto/patch-11
Fix "string literal as key expected" error
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/json.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim index 5198f5e00..b8e4a6563 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -1127,7 +1127,7 @@ proc parseJson(p: var JsonParser): JsonNode = discard getTok(p) while p.tok != tkCurlyRi: if p.tok != tkString: - raiseParseErr(p, "string literal as key expected") + raiseParseErr(p, "string literal as key") var key = p.a discard getTok(p) eat(p, tkColon) |