diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-28 14:55:25 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-29 08:44:01 -0700 |
commit | c62c4f7fed333160b891ae0cd649736b32daf227 (patch) | |
tree | e1706db479ee0432fb1100e41e3e478e4e67affb /src/propspec.lisp | |
parent | 51da46412e1d87a050cb0b0d32c335571bede3a6 (diff) | |
download | consfigurator-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.lisp | 9 |
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))) |