fix nimsuggest warning (#13699)
This commit is contained in:
parent
28b6b1c3fb
commit
1037318e68
3 changed files with 4 additions and 7 deletions
|
|
@ -97,9 +97,6 @@ const
|
||||||
"type 'debug' to toggle debug mode on/off\n" &
|
"type 'debug' to toggle debug mode on/off\n" &
|
||||||
"type 'terse' to toggle terse mode on/off"
|
"type 'terse' to toggle terse mode on/off"
|
||||||
|
|
||||||
type
|
|
||||||
EUnexpectedCommand = object of Exception
|
|
||||||
|
|
||||||
proc parseQuoted(cmd: string; outp: var string; start: int): int =
|
proc parseQuoted(cmd: string; outp: var string; start: int): int =
|
||||||
var i = start
|
var i = start
|
||||||
i += skipWhitespace(cmd, i)
|
i += skipWhitespace(cmd, i)
|
||||||
|
|
|
||||||
|
|
@ -206,13 +206,13 @@ proc sexpToAnswer(s: SexpNode): string =
|
||||||
result.add '\t'
|
result.add '\t'
|
||||||
result.add file
|
result.add file
|
||||||
result.add '\t'
|
result.add '\t'
|
||||||
result.add line
|
result.addInt line
|
||||||
result.add '\t'
|
result.add '\t'
|
||||||
result.add col
|
result.addInt col
|
||||||
result.add '\t'
|
result.add '\t'
|
||||||
result.add doc
|
result.add doc
|
||||||
result.add '\t'
|
result.add '\t'
|
||||||
result.add a[8].getNum
|
result.addInt a[8].getNum
|
||||||
if a.len >= 10:
|
if a.len >= 10:
|
||||||
result.add '\t'
|
result.add '\t'
|
||||||
result.add a[9].getStr
|
result.add a[9].getStr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue