summary refs log tree commit diff stats
path: root/lib/pure/xmltree.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-28 09:59:26 +0200
committerAraq <rumpf_a@web.de>2014-08-28 09:59:26 +0200
commit4523b29d7af0ac88754eec29981306022a0d642b (patch)
tree3fb1e5a473c1694accc1ccb215726459d4f721f1 /lib/pure/xmltree.nim
parentd05df2173b95155a53e9c731f1c78b754eb2410c (diff)
downloadNim-4523b29d7af0ac88754eec29981306022a0d642b.tar.gz
Nimrod renamed to Nim
Diffstat (limited to 'lib/pure/xmltree.nim')
-rw-r--r--lib/pure/xmltree.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pure/xmltree.nim b/lib/pure/xmltree.nim
index 2caa65023..37f591f1e 100644
--- a/lib/pure/xmltree.nim
+++ b/lib/pure/xmltree.nim
@@ -275,12 +275,12 @@ proc xmlConstructor(e: PNimrodNode): PNimrodNode {.compileTime.} =
 macro `<>`*(x: expr): expr {.immediate.} = 
   ## Constructor macro for XML. Example usage:
   ##
-  ## .. code-block:: nimrod
-  ##   <>a(href="http://nimrod-code.org", newText("Nim rules."))
+  ## .. code-block:: nim
+  ##   <>a(href="http://nim-code.org", newText("Nim rules."))
   ##
   ## Produces an XML tree for::
   ##
-  ##  <a href="http://nimrod-code.org">Nim rules.</a>
+  ##  <a href="http://nim-code.org">Nim rules.</a>
   ##
   let x = callsite()
   result = xmlConstructor(x)
@@ -339,5 +339,5 @@ proc findAll*(n: XmlNode, tag: string): seq[XmlNode] =
   findAll(n, tag, result)
 
 when isMainModule:
-  assert """<a href="http://nimrod-code.org">Nim rules.</a>""" ==
-    $(<>a(href="http://nimrod-code.org", newText("Nim rules.")))
+  assert """<a href="http://nim-code.org">Nim rules.</a>""" ==
+    $(<>a(href="http://nim-code.org", newText("Nim rules.")))