File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -298,9 +298,9 @@ This function assumes we are at the start of a node."
298
298
" Move `point' over a separating ','.
299
299
300
300
If the end of a container or the buffer is reached, then `eob'
301
- and `end' will be send respectively.
301
+ or `end' will be sent, respectively.
302
302
303
- If the JSON is invalid then `jsonian--unexpected-char' will be called"
303
+ If the JSON is invalid then `jsonian--unexpected-char' will be called. "
304
304
(pcase (char-after )
305
305
((or ?\] ?\} ) 'end )
306
306
(?, (jsonian--forward-token))
@@ -312,10 +312,7 @@ If the JSON is invalid then `jsonian--unexpected-char' will be called"
312
312
`jsonian--backward-token' will skip over any whitespace it finds.
313
313
314
314
It is assumed that `point' starts at a JSON token."
315
- ; ; Skip backward over whitespace and comments
316
- (while (or
317
- (> (skip-chars-backward " \s\n\t " ) 0 )
318
- (jsonian--backward-comment)))
315
+ (jsonian--skip-chars-backward " \s\n\t " )
319
316
(let* ((needs-seperator t )
320
317
(v (pcase (char-before )
321
318
; ; No previous token, so do nothing
You can’t perform that action at this time.
0 commit comments