X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=wolf;a=blobdiff_plain;f=src%2Fmain%2Fchecker.lisp;h=bb057fb6fb8cf863a1f3552d1a55b6657e7f329a;hp=2513812cc26d76f95f13e0cf7f163e8c94ed5e70;hb=243043b049ee29fb5fbe17286f40f3392b57cbd0;hpb=4ce7dfc301ff2317fe5591a9c23f17e8ac7b7367 diff --git a/src/main/checker.lisp b/src/main/checker.lisp index 2513812..bb057fb 100644 --- a/src/main/checker.lisp +++ b/src/main/checker.lisp @@ -8,7 +8,7 @@ ; * No line longer than 120 characters ; * No use of unexported symbols in other packages ; * No tabs -; - Only one space between elements in a form on a single line +; * Only one space between elements in a form on a single line ; * in-package must be first line in file unless file is package.lisp ; * No whitespace at end of line ; * No lines that are only whitespace @@ -49,7 +49,6 @@ :all ; matches everything ))) - (defun set-state (state) (when (not (find state *possible-states*)) (error "Can't set state to ~A" state)) @@ -184,4 +183,5 @@ ((and *form-stack* (/= (1+ (cadr (car *form-stack*))) *col-no*)) "All form elements must be indented equally") (t (set-state :normal))))) + (defevaluator :normal " " (constantly "Only one space between items of a form")) (defevaluator :normal "." (constantly nil)))