Skip to content

Commit 375f38c

Browse files
duaneretttigdklayer
authored andcommitted
rfe17297: Change to with-style-case macro usage
Change-Id: I278714b5fe4de9a432b2a55d969db159e9d8ad93 Reviewed-on: https://gerrit.franz.com:9080/c/aserve/+/24972 Reviewed-by: Duane Rettig <duane@franz.com> Tested-by: Kevin Layer <layer@franz.com> Reviewed-by: Robert Rorschach <rfr@franz.com> Reviewed-by: Kevin Layer <layer@franz.com>
1 parent f002108 commit 375f38c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

macs.cl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
;; Compile environment does not recognize SMP macros;
223223
;; 8.1 without smp patches.
224224
;;
225-
;; In 12.0, a new mp-style-case macro is introduced. Furthermore,
225+
;; In 12.0, a new with-style-case macro is introduced. Furthermore,
226226
;; smp-macros is always loaded in (since 10.0) so the nil case need
227227
;; never be considered, unless the :macros case is not also in the
228228
;; same clause as the t case.
@@ -269,15 +269,15 @@
269269
(if* (eq t-clause macros-clause)
270270
then ;; Only one clause needed
271271
(second t-clause)
272-
else `(mp-style-case
273-
(:vmp ,(or (second macros-clause) (second nil-clause)))
274-
(:smp ,(second t-clause))))))
272+
else `(with-style-case :mp
273+
(:vmp ,(or (second macros-clause) (second nil-clause)))
274+
(:smp ,(second t-clause))))))
275275

276276
;; In 12.0, fasl files compiled by smp and non-smp lisps are
277-
;; completely compatible if they have appropriate mp-style-case
277+
;; completely compatible if they have appropriate with-style-case
278278
;; forms where differences matter. Since smp-macros are always
279279
;; loaded now, a (smp-case ((t :macros) <form1>) (nil <form2>))
280-
;; will never select form2, so there need not even be any mp-style-case
280+
;; will never select form2, so there need not even be any with-style-case
281281
;; macro - the t/:macros clause can be the only expansion without
282282
;; a style macro.
283283
;;

0 commit comments

Comments
 (0)