spell an array bound as an expression
It went to fmt-c unwalked, so a bound named CHUNK-AREA kept its dash while the same name in an expression became CHUNK_AREA. Fixes #50.
This commit is contained in:
@@ -315,7 +315,7 @@ forms, and what remains."
|
||||
(match form
|
||||
(('¤ . array-type)
|
||||
(if (array-bound? form)
|
||||
`(%array ,(walk-type (array-element-type form)) ,(last array-type))
|
||||
`(%array ,(walk-type (array-element-type form)) ,(walk-expr (last array-type)))
|
||||
;; sugar for pointer... Do we really need it? Guess why not,
|
||||
;; it's a strong semantic cue
|
||||
`(%array ,(walk-type (array-element-type form)))))
|
||||
|
||||
Reference in New Issue
Block a user