diff options
author | Araq <rumpf_a@web.de> | 2011-02-12 19:24:20 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-12 19:24:20 +0100 |
commit | 5b28d08203ba36e84c8e381761db182c0393d07f (patch) | |
tree | 9f1fdcb65d8617b65672305327a208bb030405c7 /doc | |
parent | 27dc54cbda0beffe8bca36d9cc59cccaf0b2d30f (diff) | |
download | Nim-5b28d08203ba36e84c8e381761db182c0393d07f.tar.gz |
non-nil AST; continue after errors for IDE support
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/astspec.txt | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | doc/lib.txt | 0 |
2 files changed, 3 insertions, 5 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt index 01c1adba3..6b6242614 100755 --- a/doc/astspec.txt +++ b/doc/astspec.txt @@ -43,10 +43,8 @@ To specify the AST for the different Nimrod constructs, the notation ``nodekind(son1, son2, ...)`` or ``nodekind(value)`` or ``nodekind(field=value)`` is used. -Some child may be missing. Then it is ``nil``. A nil child is equivalent to -a node of kind ``nnkEmpty``. This is more or less a (useful) artifact from -the implementation. (In the compiler's implementation ``nil`` is of course -not the same as ``nnkEmpty``!) +Some child may be missing. A missing child is a node of kind ``nnkEmpty``; +a child can never be nil. Leaf nodes/Atoms @@ -364,7 +362,7 @@ When statement -------------- Like the ``if`` statement, but the root has the kind ``nnkWhenStmt``. - + Assignment ---------- diff --git a/doc/lib.txt b/doc/lib.txt index cefb1a1fe..cefb1a1fe 100644..100755 --- a/doc/lib.txt +++ b/doc/lib.txt |