Nimrod -> Nim pt. 2

This commit is contained in:
Flaviu Tamas 2015-05-26 16:01:35 -04:00
commit edfe80ca13
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ The first way is to use indenting, e.g. using `if-elif-else`, `while`, `for` sta
``` nimrod ``` nimrod
if true: if true:
echo "Nimrod is great!" echo "Nim is great!"
while false: while false:
echo "This line is never output!" echo "This line is never output!"

View file

@ -47,7 +47,7 @@ macro class*(head: expr, body: stmt): stmt {.immediate.} =
# The macro is immediate so that it doesn't # The macro is immediate so that it doesn't
# resolve identifiers passed to it # resolve identifiers passed to it
var typeName, baseName: PNimrodNode var typeName, baseName: NimNode
if head.kind == nnkIdent: if head.kind == nnkIdent:
# `head` is expression `typeName` # `head` is expression `typeName`