nimsuggest: filenames in quotes now work; general hints are not emitted

This commit is contained in:
Araq 2015-01-29 01:09:27 +01:00
commit ebda8e89e1
2 changed files with 6 additions and 5 deletions

View file

@ -46,7 +46,7 @@ proc parseQuoted(cmd: string; outp: var string; start: int): int =
var i = start
i += skipWhitespace(cmd, i)
if cmd[i] == '"':
i += parseUntil(cmd, outp, '"', i+1)+1
i += parseUntil(cmd, outp, '"', i+1)+2
else:
i += parseUntil(cmd, outp, seps, i)
result = i