forked from alex-eg/sex
keep the threading macro out of the writer's arrow comment
This commit is contained in:
@@ -191,8 +191,7 @@ forms, and what remains."
|
||||
;; is the fmt-c directive for the `.' operator (see sex-fmt-c).
|
||||
(('dot-access . rest) (cons '%. (map walk-expr rest)))
|
||||
;; `%->' 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
|
||||
;; name `->' itself being the threading macro
|
||||
;; path lowers to where the thing it reads from is a pointer
|
||||
(('%-> . rest) (cons '%-> (map walk-expr rest)))
|
||||
(('var . _) (walk-var form))
|
||||
;; An expression has no room for a statement, so a comment in a
|
||||
|
||||
Reference in New Issue
Block a user