Fixes compilation on 0.9.4.

This commit is contained in:
Dominik Picheta 2014-08-22 21:16:09 +01:00
commit 07d4fd2253

View file

@ -8,7 +8,7 @@
import json import json
when not NimrodPatch >= 5: when not (NimrodPatch >= 5):
when not defined(`{}`): when not defined(`{}`):
proc `{}`*(node: PJsonNode, key: string): PJsonNode = proc `{}`*(node: PJsonNode, key: string): PJsonNode =
## Transverses the node and gets the given value. If any of the ## Transverses the node and gets the given value. If any of the