Fixes compilation with 0.9.4 hopefully.
This commit is contained in:
parent
de62dc27fc
commit
8042e124e1
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import json
|
||||
|
||||
when NimrodPatch <= 4 and NimrodMinor == 9:
|
||||
when not NimrodPatch >= 5:
|
||||
when not defined(`{}`):
|
||||
proc `{}`*(node: PJsonNode, key: string): PJsonNode =
|
||||
## Transverses the node and gets the given value. If any of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue