summaryrefslogtreecommitdiff
path: root/parser.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'parser.lisp')
-rw-r--r--parser.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/parser.lisp b/parser.lisp
index 55ded57..7567b1f 100644
--- a/parser.lisp
+++ b/parser.lisp
@@ -134,3 +134,7 @@
(if include-separator
(cons v (cons sep vn))
(cons v vn))))
+
+(defparameter whitespace
+ (comp ((_ (optional (many (unit-if (lambda (x) (or (char= x #\Space) (char= x #\Newline) (char= x #\Tab))))))))
+ nil))