implemented builtin noncopying slice

This commit is contained in:
Araq 2014-05-02 08:44:03 +02:00
commit d0438540d0
7 changed files with 42 additions and 18 deletions

View file

@ -1622,7 +1622,7 @@ proc genProc(c: PCtx; s: PSym): int =
c.gABC(body, opcEof, eofInstr.regA)
c.optimizeJumps(result)
s.offset = c.prc.maxSlots
#if s.name.s == "addStuff":
#if s.name.s == "parse_until_symbol":
# echo renderTree(body)
# c.echoCode(result)
c.prc = oldPrc