summary refs log tree commit diff stats
path: root/doc/c2nim.txt
diff options
context:
space:
mode:
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