X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/aa14a4cddcb96b681d5c19a2ec8bad382f43b264..ea578bb4b9eb4a03b2eb4ed151e058d699c216ea:/src/parser/scanner-charbuf-impl.lisp diff --git a/src/parser/scanner-charbuf-impl.lisp b/src/parser/scanner-charbuf-impl.lisp index 2d7a4ae..9cafc3d 100644 --- a/src/parser/scanner-charbuf-impl.lisp +++ b/src/parser/scanner-charbuf-impl.lisp @@ -190,10 +190,10 @@ and wishes to read more. If DONEP is true then the condition (<= START USED END) must hold; the FUNC has consumed the buffer as far as USED (exclusive) and has completed successfully; the values DONEP and `t' are - returned as the result of CHARBUF-SCANNER-MAP. + returned as the result of `charbuf-scanner-map'. If end-of-file is encountered before FUNC completes successfully then FAIL - is called with no arguments, and CHARBUF-SCANNER-MAP returns whatever + is called with no arguments, and `charbuf-scanner-map' returns whatever FAIL returns. Observe that, if FAIL returns a second value of nil, then @@ -369,7 +369,7 @@ :index index)))) (last-link (charbuf-scanner-place-link place-b))) (flet ((bad () - (error "Incorrect places ~S and ~S to SCANNER-INTERVAL." + (error "Incorrect places ~S and ~S to `scanner-interval'." place-a place-b))) (do ((link (charbuf-scanner-place-link place-a) (charbuf-chain-link-next link))