summary refs log tree commit diff stats
path: root/compiler/parser.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-06-19 09:42:33 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-06-19 09:42:33 +0200
commitdd81d9d5b711a9a78d5b4a26a62d02da2e495b21 (patch)
tree1af67518fe1442a145209a917733b6e39b167f94 /compiler/parser.nim
parent98f3daea651b5e2f9ef620f6b9bb5a55e3530358 (diff)
downloadNim-dd81d9d5b711a9a78d5b4a26a62d02da2e495b21.tar.gz
nimpretty improvements
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r--compiler/parser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index 649f9d506..f575f3d7e 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -102,7 +102,7 @@ proc openParser*(p: var TParser, fileIdx: FileIndex, inputStream: PLLStream,
   initToken(p.tok)
   openLexer(p.lex, fileIdx, inputStream, cache, config)
   when defined(nimpretty2):
-    openEmitter(p.em, config, fileIdx)
+    openEmitter(p.em, cache, config, fileIdx)
   getTok(p)                   # read the first token
   p.firstTok = true
   p.strongSpaces = strongSpaces