Skip to content

Commit 01f48d7

Browse files
committed
Remove unnecessary use of ECASE.
ECASE used when operating over a variable that is set to one of three known failures. Allegro didn't like that the error case was unreachable (clever of it to realize it was unreachable).
1 parent 4b048e6 commit 01f48d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hddl/hddl-pprint.lisp

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ in the form of a list of actions."
124124
(parse-integer line :junk-allowed t)
125125
(collecting
126126
(cons id
127-
(ecase format
127+
(case format
128128
(:comma-separated
129129
(comma-separated-task->sexp (subseq (string-upcase line) (1+ pos))))
130130
(:s-expression
@@ -153,7 +153,7 @@ in the form of a list of actions."
153153
(partition-method-line (subseq line (1+ pos)))
154154
(declare (type string task-string method-id subtasks))
155155
(collecting `(,id
156-
,(ecase format
156+
,(case format
157157
(:default
158158
(space-separated-string->hddl-list (string-upcase task-string)))
159159
(:s-expression

0 commit comments

Comments
 (0)