keep the threading macro out of the writer's arrow comment

This commit is contained in:
2026-10-19 15:33:51 +03:00
parent 063770d3bc
commit 958978efd3

View File

@@ -191,8 +191,7 @@ forms, and what remains."
;; is the fmt-c directive for the `.' operator (see sex-fmt-c). ;; is the fmt-c directive for the `.' operator (see sex-fmt-c).
(('dot-access . rest) (cons '%. (map walk-expr rest))) (('dot-access . rest) (cons '%. (map walk-expr rest)))
;; `%->' is the C arrow. Nothing writes it: it is what a member ;; `%->' is the C arrow. Nothing writes it: it is what a member
;; path lowers to where the thing it reads from is a pointer, the ;; path lowers to where the thing it reads from is a pointer
;; name `->' itself being the threading macro
(('%-> . rest) (cons '%-> (map walk-expr rest))) (('%-> . rest) (cons '%-> (map walk-expr rest)))
(('var . _) (walk-var form)) (('var . _) (walk-var form))
;; An expression has no room for a statement, so a comment in a ;; An expression has no room for a statement, so a comment in a