chiark / gitweb /
src/module-parse.lisp: Eliminate the old `demo' module item.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2019 13:43:39 +0000 (14:43 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2019 13:59:12 +0000 (14:59 +0100)
It was only there for early testing, and we don't need it any more.

src/module-parse.lisp

index 311206d00a242b597985eae8a3ee5e5f348eef75..170d61f5858d7e8be2f63fa6936eb3405c931624 100644 (file)
@@ -128,13 +128,6 @@   (define-module (pathname :location location :truename truename)
              (declare (ignore consumedp))
              (unless winp (syntax-error scanner result)))))))))
 
-(define-pluggable-parser module test (scanner pset)
-  ;; `demo' string `;'
-  (declare (ignore pset))
-  (with-parser-context (token-scanner-context :scanner scanner)
-    (parse (seq ("demo" (string (must :string)) (nil (must #\;)))
-            (format t ";; DEMO ~S~%" string)))))
-
 (define-pluggable-parser module file (scanner pset)
   ;; `import' string `;'
   ;; `load' string `;'