type #t, an enum's constants and the bitwise names
None had a rule. A constant is typed as its enum, where C says int, so that the enum's ops are found through it. And bit-and, bit-not and the rest were respelled bit_and before fmt-c could see them, and called.
This commit is contained in:
@@ -166,6 +166,10 @@ forms, and what remains."
|
||||
((¤) 'vector-ref)
|
||||
((include) '%include)
|
||||
((static-assert) '_Static_assert)
|
||||
;; fmt-c's own names for these: respelled bit_and they were calls
|
||||
((bit-and bit-or bit-xor bit-not bit-or=
|
||||
bitwise-and bitwise-ior bitwise-xor bitwise-not bitwise-ior=)
|
||||
atom)
|
||||
;; a `|' inside a symbol has to be escaped to be written in
|
||||
;; a Scheme source, so we just rename it in fmt-c compatible
|
||||
;; way
|
||||
|
||||
Reference in New Issue
Block a user