Fix handling of empty propositions on the command line
This commit is contained in:
parent
c52706e4b2
commit
bbc02349af
6
cli.lisp
6
cli.lisp
@ -37,13 +37,13 @@ functions involved in evaluating and typesetting."
|
|||||||
(parse-proposition-string prop-str
|
(parse-proposition-string prop-str
|
||||||
:implicit-and implicit-and
|
:implicit-and implicit-and
|
||||||
:multi-char-names multi-char-names))
|
:multi-char-names multi-char-names))
|
||||||
|
when parsed-exp
|
||||||
collect parsed-exp into exps
|
collect parsed-exp into exps
|
||||||
do (dolist (var parsed-vars)
|
do (dolist (var parsed-vars)
|
||||||
(unless (member var vars :test 'equal)
|
(pushnew var vars :test 'equal))
|
||||||
(setq vars (nconc vars (list var)))))
|
|
||||||
finally
|
finally
|
||||||
(let ((table (create-combined-truth-table
|
(let ((table (create-combined-truth-table
|
||||||
exps vars
|
exps (nreverse vars)
|
||||||
:include-intermediate include-intermediate
|
:include-intermediate include-intermediate
|
||||||
:include-vars include-vars)))
|
:include-vars include-vars)))
|
||||||
(return (typeset-table-to-format table format
|
(return (typeset-table-to-format table format
|
||||||
|
Loading…
Reference in New Issue
Block a user