summary refs log tree commit diff stats
path: root/compiler/renderer.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-09-30 18:16:09 +0200
committerAraq <rumpf_a@web.de>2017-09-30 18:32:44 +0200
commit3ccc9c467d84dc8c3412acbea20fc10b5335eaa8 (patch)
treea397e4c0e3b6de4a89a7f71bf7168c166f53c235 /compiler/renderer.nim
parent5cf789ac3fffeb895af3c43c0348c537af00c12e (diff)
downloadNim-3ccc9c467d84dc8c3412acbea20fc10b5335eaa8.tar.gz
'with' and 'without' are not keywords anymore
Diffstat (limited to 'compiler/renderer.nim')
-rw-r--r--compiler/renderer.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/renderer.nim b/compiler/renderer.nim
index 05329394a..bbe81fe37 100644
--- a/compiler/renderer.nim
+++ b/compiler/renderer.nim
@@ -1079,9 +1079,9 @@ proc gsub(g: var TSrcGen, n: PNode, c: TContext) =
       gsub(g, n.sons[0])
       if n.len > 1:
         if n[1].kind == nkWith:
-          putWithSpace(g, tkWith, " with")
+          putWithSpace(g, tkSymbol, " with")
         else:
-          putWithSpace(g, tkWithout, " without")
+          putWithSpace(g, tkSymbol, " without")
         gcomma(g, n[1])
     else:
       put(g, tkDistinct, "distinct")