some support for passing blocks to overloaded templates/macros
This commit is contained in:
parent
b83dce7281
commit
391fb89a3e
3 changed files with 29 additions and 7 deletions
|
|
@ -22,7 +22,8 @@ proc semPass*(): TPass
|
|||
|
||||
type
|
||||
TExprFlag = enum
|
||||
efLValue, efWantIterator, efInTypeof, efWantStmt
|
||||
efLValue, efWantIterator, efInTypeof, efWantStmt,
|
||||
efMacroStmt # expr to semcheck is a macro statement
|
||||
TExprFlags = set[TExprFlag]
|
||||
|
||||
proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue