src/lexer-impl.lisp: Rename internal `skip-until' function.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:28 +0000 (19:58 +0100)
This shouldn't have leaked.

doc/SYMBOLS
src/lexer-impl.lisp
src/lexer-proto.lisp

index 89723e7..45369ff 100644 (file)
@@ -472,7 +472,7 @@ lexer-proto.lisp
   lexer-error                                   function class
   must                                          parser
   scan-comment                                  function
-  skip-until                                    function parser
+  skip-until                                    parser
   sod-token-scanner                             class
   syntax-error                                  function class
 
index 42370c0..ffd522f 100644 (file)
@@ -46,7 +46,7 @@
         (format nil "`~C'" char))
        (t (format nil "<~(~:C~)>" char))))
 
-(defun skip-until (scanner token-types &key keep-end)
+(defun %skip-until (scanner token-types &key keep-end)
   "This is the implementation of the `skip-until' parser."
   (do ((consumedp nil t))
       ((member (token-type scanner) token-types)
index d5f25fd..22d61c0 100644 (file)
    discard it.  KEEP-END defaults to true if multiple TOKEN-TYPES are given;
    otherwise false.  If end-of-file is encountered then the indicator list is
    simply the list of TOKEN-TYPES; otherwise the result is `nil'."
-  `(skip-until ,(parser-scanner context)
+  `(%skip-until ,(parser-scanner context)
               (list ,@token-types)
               :keep-end ,(if keep-end-p keep-end
                              (> (length token-types) 1))))