Minor token changes

This commit is contained in:
Zed
2020-06-01 13:40:26 +02:00
parent dc79f736d0
commit 1fb78f8047
5 changed files with 7 additions and 10 deletions

View File

@@ -19,8 +19,7 @@ template `?`*(js: JsonNode): untyped =
template `with`*(ident, value, body): untyped =
block:
let ident {.inject.} = value
if ident != nil:
body
if ident != nil: body
template `with`*(ident; value: JsonNode; body): untyped =
block: