src/final.lisp (test-module): Make REASON be a keyword argument.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 25 Mar 2017 18:01:53 +0000 (18:01 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:28 +0000 (19:58 +0100)
It's not always wanted, and we'll want to add more keywords soon.

doc/misc.tex
src/final.lisp

index f43ec98..ba76cd8 100644 (file)
@@ -568,7 +568,7 @@ These symbols are defined in the @!optparse| package.
 \begin{describe}{var}{*debugout-pathname*}
 \end{describe}
 
-\begin{describe}{fun}{test-module @<path> @<reason> @> @<status>}
+\begin{describe}{fun}{test-module @<path> \&key :reason @> @<status>}
 \end{describe}
 
 \begin{describe}{fun}
index 6b81e3d..96d82df 100644 (file)
@@ -39,7 +39,7 @@
 (defvar *debugout-pathname* #p"debugout.c")
 
 (export 'test-module)
-(defun test-module (path reason)
+(defun test-module (path &key reason)
   "Read a module from PATH, to exercise the machinery.
 
    If REASON is non-nil, then output the module to `*debugout-pathname*' with