nimsuggest: more things work
This commit is contained in:
parent
4755795416
commit
57ea01309e
6 changed files with 51 additions and 25 deletions
|
|
@ -213,7 +213,8 @@ proc openLexer*(lex: var TLexer, fileIdx: int32, inputstream: PLLStream;
|
|||
lex.currLineIndent = 0
|
||||
inc(lex.lineNumber, inputstream.lineOffset)
|
||||
lex.cache = cache
|
||||
lex.previousToken.fileIndex = fileIdx
|
||||
when defined(nimsuggest):
|
||||
lex.previousToken.fileIndex = fileIdx
|
||||
|
||||
proc openLexer*(lex: var TLexer, filename: string, inputstream: PLLStream;
|
||||
cache: IdentCache) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue