diff options
Diffstat (limited to 'tests/run/tstringinterp.nim')
-rw-r--r-- | tests/run/tstringinterp.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run/tstringinterp.nim b/tests/run/tstringinterp.nim index 676e7ea1d..f030213e0 100644 --- a/tests/run/tstringinterp.nim +++ b/tests/run/tstringinterp.nim @@ -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) |