aboutsummaryrefslogtreecommitdiff
path: root/src/propspec.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-05-28 14:55:25 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-05-29 08:44:01 -0700
commitc62c4f7fed333160b891ae0cd649736b32daf227 (patch)
treee1706db479ee0432fb1100e41e3e478e4e67affb /src/propspec.lisp
parent51da46412e1d87a050cb0b0d32c335571bede3a6 (diff)
downloadconsfigurator-c62c4f7fed333160b891ae0cd649736b32daf227.tar.gz
define APPEND-PROPSPECS for null arguments
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r--src/propspec.lisp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp
index 525429b..3a8682f 100644
--- a/src/propspec.lisp
+++ b/src/propspec.lisp
@@ -228,6 +228,15 @@ systems."
`(silent-seqprops ,firstp ,secondp)
(or firstp secondp)))))
+(defmethod append-propspecs ((first null) (second unpreprocessed-propspec))
+ second)
+
+(defmethod append-propspecs ((first unpreprocessed-propspec) (second null))
+ first)
+
+(defmethod append-propspecs ((first null) (second null))
+ nil)
+
(defmethod eval-propspec ((propspec preprocessed-propspec))
(eval (slot-value propspec 'preprocessed-propspec-expression)))