summary refs log tree commit diff stats
path: root/doc/c2nim.txt
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2014-03-31 15:49:04 -0500
committerSimon Hafner <hafnersimon@gmail.com>2014-03-31 15:49:04 -0500
commitffb36db5a6caa147119aed1728c8042dfa68a3e8 (patch)
tree0db6e9c9b39a21511cf6d5a1c2f489e35a10ed60 /doc/c2nim.txt
parent565031f0cd4768962fb19ac4e17efb994dfb4735 (diff)
parent44ee8aecfd70d1d381b5eed5ae52b01fae04452b (diff)
downloadNim-ffb36db5a6caa147119aed1728c8042dfa68a3e8.tar.gz
Merge branch 'devel' of github.com:Araq/Nimrod into seq_toString
Diffstat (limited to 'doc/c2nim.txt')
-rw-r--r--doc/c2nim.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/c2nim.txt b/doc/c2nim.txt
index 7dec8b995..6788ef569 100644
--- a/doc/c2nim.txt
+++ b/doc/c2nim.txt
@@ -74,7 +74,7 @@ Is translated into:
       printf("%s\x0A", x)
   else:
     template OUT*(x: expr): stmt = 
-      nil
+      discard
   
 As can been seen from the example, C's macros with parameters are mapped
 to Nimrod's templates. This mapping is the best one can do, but it is of course