summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorapense <apense@users.noreply.github.com>2015-06-16 18:57:19 -0400
committerapense <apense@users.noreply.github.com>2015-06-16 18:57:19 -0400
commit68aa6309e4dcc2a2cdb96593cc345c4e43a7c717 (patch)
tree7ac1287c69b82593811edafa70967c48b8dc0972 /doc
parente2bcf22a849a8093ddb19f97660a519cc8e71371 (diff)
downloadNim-68aa6309e4dcc2a2cdb96593cc345c4e43a7c717.tar.gz
Added uints to Leaf nodes
[This question on SO](http://stackoverflow.com/questions/30311110/how-to-create-a-nnkuint16lit-nimnode) made me realized these weren't in there
Diffstat (limited to 'doc')
-rw-r--r--doc/astspec.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt
index 7514838da..596d07bab 100644
--- a/doc/astspec.txt
+++ b/doc/astspec.txt
@@ -60,6 +60,10 @@ Nim expression                   Corresponding AST
 ``42'i16``                       ``nnkInt16Lit(intVal = 42)``
 ``42'i32``                       ``nnkInt32Lit(intVal = 42)``
 ``42'i64``                       ``nnkInt64Lit(intVal = 42)``
+``42'u8``                        ``nnkUInt8Lit(intVal = 42)``
+``42'u16``                       ``nnkUInt16Lit(intVal = 42)``
+``42'u32``                       ``nnkUInt32Lit(intVal = 42)``
+``42'u64``                       ``nnkUInt64Lit(intVal = 42)``
 ``42.0``                         ``nnkFloatLit(floatVal = 42.0)``
 ``42.0'f32``                     ``nnkFloat32Lit(floatVal = 42.0)``
 ``42.0'f64``                     ``nnkFloat64Lit(floatVal = 42.0)``