make some exceptions for unkebabification

This commit is contained in:
2025-06-09 00:29:31 +03:00
parent 1286fc14ec
commit 408c0c1441

View File

@@ -10,8 +10,14 @@
tree)
(define (unkebabify sym)
(string->symbol
(string-translate (symbol->string sym) #\- #\_)))
(case sym
((-) sym)
((--) sym)
((->) sym)
((-=) sym)
(else
(string->symbol
(string-translate (symbol->string sym) #\- #\_)))))
(define (atom-to-fmt-c atom)
(case atom