summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-09-11 23:21:02 +0200
committerAraq <rumpf_a@web.de>2012-09-11 23:21:02 +0200
commitd48d3d0bd19772160f7f7eea292c74b71bd38b16 (patch)
treed73a5e5c3c682a4206fbb44711dd97de4dc986f2 /doc
parent64c638a9dcdc12b1ccf83543bd2aa3aa15ce26f1 (diff)
downloadNim-d48d3d0bd19772160f7f7eea292c74b71bd38b16.tar.gz
small bugfixes; reactivated tests/compile
Diffstat (limited to 'doc')
-rw-r--r--doc/trmacros.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/trmacros.txt b/doc/trmacros.txt
index e138625f0..e740e6890 100644
--- a/doc/trmacros.txt
+++ b/doc/trmacros.txt
@@ -243,7 +243,7 @@ all the arguments, but also the matched operators in reverse polish notation:
       dummy: int
 
   proc `*`(a, b: TMatrix): TMatrix = nil
-  proc `+`(a, b: TMat): TMatrix = nil
+  proc `+`(a, b: TMatrix): TMatrix = nil
   proc `-`(a, b: TMatrix): TMatrix = nil
   proc `$`(a: TMatrix): string = result = $a.dummy
   proc mat21(): TMatrix =
@@ -257,7 +257,7 @@ all the arguments, but also the matched operators in reverse polish notation:
 
   echo x + y * z - x 
 
-This transforms passes expression ``x + y * z - x`` to the ``optM`` macro as
+This passes the expression ``x + y * z - x`` to the ``optM`` macro as
 an ``nnkArgList`` node containing::
 
   Arglist