implements first version of for-loop macros
This commit is contained in:
parent
a30b52eb64
commit
c08efb4c51
4 changed files with 89 additions and 2 deletions
|
|
@ -4172,3 +4172,8 @@ when not defined(js):
|
|||
magic: "Slice".}
|
||||
proc toOpenArray*(x: string; first, last: int): openarray[char] {.
|
||||
magic: "Slice".}
|
||||
|
||||
|
||||
type
|
||||
ForLoopStmt* {.compilerProc.} = object ## special type that marks a macro
|
||||
## as a `for-loop macro`:idx:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue