made tests green again

This commit is contained in:
Araq 2012-08-31 00:00:14 +02:00
commit b56df72a32
11 changed files with 16 additions and 8 deletions

View file

@ -18,6 +18,7 @@ template ProcessInterpolations(e: expr) =
of ikVar, ikExpr: addExpr(newCall("$", parseExpr(f.value)))
macro formatStyleInterpolation(e: expr): expr =
let e = callsite()
var
formatString = ""
arrayNode = newNimNode(nnkBracket)
@ -41,6 +42,7 @@ macro formatStyleInterpolation(e: expr): expr =
result[2] = arrayNode
macro concatStyleInterpolation(e: expr): expr =
let e = callsite()
var args: seq[PNimrodNode]
newSeq(args, 0)