Commit 1e79a5fbc24c0089db6915380f82341b5f87ac58

Thomas de Grivel 2018-06-29T12:01:45

Use token-stream for token type. Shadow match functions.

diff --git a/package.lisp b/package.lisp
index 23435af..ed842f4 100644
--- a/package.lisp
+++ b/package.lisp
@@ -3,8 +3,17 @@
 
 (defpackage :parser-stream
   (:use :cl-stream
-        :common-lisp)
+        :common-lisp
+        :token-stream)
   #.(cl-stream:shadowing-import-from)
+  (:shadow
+   #:*buffer-size*
+   #:match
+   #:match-not
+   #:match-option
+   #:match-sequence
+   #:match-times
+   )
   (:export
    #:item
    #:item-character
diff --git a/parser-stream.asd b/parser-stream.asd
index 96dd498..1fc612a 100644
--- a/parser-stream.asd
+++ b/parser-stream.asd
@@ -27,8 +27,8 @@
   :name "parser-stream"
   :author "Thomas de Grivel <thoxdg@gmail.com>"
   :version "0.1"
-  :description "LESS lexer as a cl-stream/token-stream"
-  :depends-on ("css-lexer")
+  :description "Parser class for cl-stream/token-stream"
+  :depends-on ("token-stream")
   :components
   ((:file "package")
    (:file "parser" :depends-on ("package"))))