Merge pull request #717 from gradha/pr_fixes_minor_doc_mistakes

Fixes minor doc mistakes.
This commit is contained in:
Grzegorz Adam Hankiewicz 2013-12-08 03:56:00 -08:00
commit 2c315690f2

View file

@ -16,9 +16,9 @@ Introduction
This document is a tutorial for the advanced constructs of the *Nimrod* This document is a tutorial for the advanced constructs of the *Nimrod*
programming language. **Note that this document is somewhat obsolete as programming language. **Note that this document is somewhat obsolete as the**
the `manual <manual.html>`_ contains many more examples of the advanced `manual <manual.html>`_ **contains many more examples of the advanced language
language features.** features.**
Pragmas Pragmas
@ -948,7 +948,7 @@ Generating AST by hand
To generate an AST we would need to intimately know the structures used by the 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 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. 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 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 create the following source file and compile it to see what the compiler