Skip to content

Commit 6bbfc71

Browse files
committed
Remove echos.
1 parent 3473d6a commit 6bbfc71

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/jsony.nim

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ proc parseHook*(s: string, i: var int, v: var SomeFloat) =
7171

7272
proc parseHook*(s: string, i: var int, v: var string) =
7373
## Parse string.
74-
#echo "S:", s[i .. min(i + 80, s.len-1)]
7574
eatSpace(s, i)
7675
if s[i] == 'n':
7776
let what = parseSymbol(s, i)
@@ -150,10 +149,8 @@ proc parseHook*[T: array](s: string, i: var int, v: var T) =
150149

151150
proc skipValue(s: string, i: var int) =
152151
## Used to skip values of extra fields.
153-
#echo "Skip:", s[i .. min(i + 80, s.len-1)]
154152
eatSpace(s, i)
155153
if s[i] == '{':
156-
#echo "skip obj"
157154
eatChar(s, i, '{')
158155
while i < s.len:
159156
eatSpace(s, i)
@@ -167,7 +164,6 @@ proc skipValue(s: string, i: var int) =
167164
inc i
168165
eatChar(s, i, '}')
169166
elif s[i] == '[':
170-
#echo "skip arr"
171167
eatChar(s, i, '[')
172168
while i < s.len:
173169
eatSpace(s, i)
@@ -179,11 +175,9 @@ proc skipValue(s: string, i: var int) =
179175
inc i
180176
eatChar(s, i, ']')
181177
elif s[i] == '"':
182-
#echo "skip str"
183178
var str: string
184179
parseHook(s, i, str)
185180
else:
186-
#echo "skip sym"
187181
discard parseSymbol(s, i)
188182

189183
proc camelCase(s: string): string =

0 commit comments

Comments
 (0)