Skip to content

Commit 43ab410

Browse files
committed
Cleanup doc comments
1 parent 3b9e983 commit 43ab410

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

jsonian.el

+3-6
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ This function assumes we are at the start of a node."
298298
"Move `point' over a separating ','.
299299
300300
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.
302302
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."
304304
(pcase (char-after)
305305
((or ?\] ?\}) 'end)
306306
(?, (jsonian--forward-token))
@@ -312,10 +312,7 @@ If the JSON is invalid then `jsonian--unexpected-char' will be called"
312312
`jsonian--backward-token' will skip over any whitespace it finds.
313313
314314
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")
319316
(let* ((needs-seperator t)
320317
(v (pcase (char-before)
321318
;; No previous token, so do nothing

0 commit comments

Comments
 (0)