when expressions, proper rendering for nkDo and nkLambda and parser support for x.type and x.addr

This commit is contained in:
Zahary Karadjov 2012-04-05 22:43:37 +03:00
commit 98b7bdaa50
6 changed files with 55 additions and 19 deletions

View file

@ -143,7 +143,7 @@ type
nkPragma, # a pragma statement
nkPragmaBlock, # a pragma with a block
nkIfStmt, # an if statement
nkWhenStmt, # a when statement
nkWhenStmt, # a when expression or statement
nkForStmt, # a for statement
nkWhileStmt, # a while statement
nkCaseStmt, # a case statement
@ -246,6 +246,11 @@ const
sfImmediate* = sfDeadCodeElim # macro or template is immediately expanded
# without considering any possible overloads
const
# getting ready for the future expr/stmt merge
nkWhen* = nkWhenStmt
nkWhenExpr* = nkWhenStmt
type
TTypeKind* = enum # order is important!
# Don't forget to change hti.nim if you make a change here