chiark / gitweb /
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 f43ec98c9a41ef0c8f2618883980e28e5adcbe22..ba76cd82437da389e170637684b6861ae0164b68 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 6b81e3d9d4982b7444a021bdb35d25c326b6efc3..96d82df8575b385ab987254dee675e21e60184bf 100644 (file)
@@ -39,7 +39,7 @@ (export '*debugout-pathname*)
 (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