fixes nimsuggest bug #45
This commit is contained in:
parent
0596c11775
commit
0f63c101e4
1 changed files with 1 additions and 1 deletions
|
|
@ -1022,7 +1022,7 @@ proc rawGetTok*(L: var TLexer, tok: var TToken) =
|
||||||
inc(L.bufpos)
|
inc(L.bufpos)
|
||||||
of '.':
|
of '.':
|
||||||
when defined(nimsuggest):
|
when defined(nimsuggest):
|
||||||
if L.fileIdx == gTrackPos.fileIndex and tok.col+1 == gTrackPos.col and
|
if L.fileIdx == gTrackPos.fileIndex and tok.col == gTrackPos.col and
|
||||||
tok.line == gTrackPos.line and gIdeCmd == ideSug:
|
tok.line == gTrackPos.line and gIdeCmd == ideSug:
|
||||||
tok.tokType = tkDot
|
tok.tokType = tkDot
|
||||||
inc(L.bufpos)
|
inc(L.bufpos)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue