nimpretty improvements
This commit is contained in:
parent
98f3daea65
commit
dd81d9d5b7
3 changed files with 60 additions and 43 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue