when expressions, proper rendering for nkDo and nkLambda and parser support for x.type and x.addr
This commit is contained in:
parent
6d80583d5a
commit
98b7bdaa50
6 changed files with 55 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue