diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-08 03:56:00 -0800 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-08 03:56:00 -0800 |
commit | 2c315690f22e95a5af801535d1bc77cdb9b77343 (patch) | |
tree | e0b8bf5d85e0de0c32f2a07d175289fe2bea7b8d | |
parent | 5cdfa4b1afb37c294fa3ccb06e9ed6d9f0e8830b (diff) | |
parent | 8526d2936517fec9db9608607cea971bcd804428 (diff) | |
download | Nim-2c315690f22e95a5af801535d1bc77cdb9b77343.tar.gz |
Merge pull request #717 from gradha/pr_fixes_minor_doc_mistakes
Fixes minor doc mistakes.
-rw-r--r-- | doc/tut2.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/tut2.txt b/doc/tut2.txt index f66a5135d..82be57000 100644 --- a/doc/tut2.txt +++ b/doc/tut2.txt @@ -16,9 +16,9 @@ Introduction This document is a tutorial for the advanced constructs of the *Nimrod* -programming language. **Note that this document is somewhat obsolete as -the `manual <manual.html>`_ contains many more examples of the advanced -language features.** +programming language. **Note that this document is somewhat obsolete as the** +`manual <manual.html>`_ **contains many more examples of the advanced language +features.** Pragmas @@ -948,7 +948,7 @@ Generating AST by hand To generate an AST we would need to intimately know the structures used by the Nimrod compiler exposed in the `macros module <macros.html>`_, which at first -look seems a daunting task. But we can use a helper shortcut the ``dumpTree`` +look seems a daunting task. But we can use as helper shortcut the ``dumpTree`` macro, which is used as a statement macro instead of an expression macro. Since we know that we want to generate a bunch of ``const`` symbols we can create the following source file and compile it to see what the compiler |