summary refs log tree commit diff stats
path: root/compiler/ccgexprs.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-13 14:19:42 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-13 14:19:42 +0200
commit297038f70424e2d777cf7c308a9ab48cb6f66d01 (patch)
tree8216109e6e56b19c3e43fd4ff734e3d49c539edc /compiler/ccgexprs.nim
parente4c088721a969ffafe621fecd8bb28dfa2fe9d18 (diff)
downloadNim-297038f70424e2d777cf7c308a9ab48cb6f66d01.tar.gz
move more globals into the config object
Diffstat (limited to 'compiler/ccgexprs.nim')
-rw-r--r--compiler/ccgexprs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index a78a96c13..dff974ddb 100644
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -2025,7 +2025,7 @@ template genStmtListExprImpl(exprOrStmt) {.dirty.} =
         let theMacro = it[0].sym
         add p.s(cpsStmts), initFrameNoDebug(p, frameName,
            makeCString theMacro.name.s,
-           theMacro.info.quotedFilename, it.info.line.int)
+           quotedFilename(p.config, theMacro.info), it.info.line.int)
     else:
       genStmts(p, it)
   if n.len > 0: exprOrStmt