diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-06-19 09:42:33 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-06-19 09:42:33 +0200 |
commit | dd81d9d5b711a9a78d5b4a26a62d02da2e495b21 (patch) | |
tree | 1af67518fe1442a145209a917733b6e39b167f94 /compiler/parser.nim | |
parent | 98f3daea651b5e2f9ef620f6b9bb5a55e3530358 (diff) | |
download | Nim-dd81d9d5b711a9a78d5b4a26a62d02da2e495b21.tar.gz |
nimpretty improvements
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r-- | compiler/parser.nim | 2 |
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 |