Check choice before process
This commit is contained in:
parent
4ece9dd455
commit
922f6a8f3f
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ Returns:
|
|||
(funcall (choose-input-form type) type group item))
|
||||
|
||||
(defmacro process-choice (group choice)
|
||||
(unless (choicep choice)
|
||||
(error "Invalid question format: ~a" choice))
|
||||
(multiple-value-bind (type values)
|
||||
(resolve-input-and-choice choice)
|
||||
(if (string= type "combo")
|
||||
|
|
Loading…
Add table
Reference in a new issue