Tidy: (org-ql--peg-parse-string) Silence, Checkdoc!
This commit is contained in:
parent
6d5ce97dc7
commit
2e469fa547
1 changed files with 6 additions and 3 deletions
|
|
@ -1672,9 +1672,12 @@ element should be a regexp string."
|
||||||
(defvar peg-stack nil)
|
(defvar peg-stack nil)
|
||||||
|
|
||||||
(defmacro org-ql--peg-parse-string (rules string &optional noerror)
|
(defmacro org-ql--peg-parse-string (rules string &optional noerror)
|
||||||
"Parse STRING according to RULES.
|
"Parse STRING according to RULES."
|
||||||
If NOERROR is non-nil, push nil resp. t if the parse failed
|
;; This sentence was in the docstring but Checkdoc is complaining,
|
||||||
resp. succeded instead of signaling an error."
|
;; so moving it to a comment: "If NOERROR is non-nil, push nil
|
||||||
|
;; resp. t if the parse failed resp. succeded instead of signaling
|
||||||
|
;; an error."
|
||||||
|
|
||||||
;; Unfortunately, this macro was moved to peg-tests.el, so we copy it here.
|
;; Unfortunately, this macro was moved to peg-tests.el, so we copy it here.
|
||||||
`(with-temp-buffer
|
`(with-temp-buffer
|
||||||
(insert ,string)
|
(insert ,string)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue