Can't produce a backslace in literal strings
ChengCat opened this issue · comments
ChengCat commented
(import cstdio)
(def main (fn extern-c int (void)
(printf "\\")
0))
With the above code, I expect it print a single backslash \
, but a compile error is shown instead:
error: unterminated string literal
tomhrr commented
Thanks, this has been fixed.