Issue #260 - Fix C compiler issue with line label

This commit is contained in:
Justin Ethier 2018-06-12 17:38:12 -04:00
parent 49e06dce07
commit b8e9d39b28

View file

@ -1326,11 +1326,12 @@
(string-append
(st:->code trace)
;; TODO: probably needs brackets afterwards...
(if has-loop? "\nloop:\n" "")
(if has-loop? "\nloop: {\n" "")
))))
body)
" ")
"; \n"
(if has-loop? "}\n" "")
"}\n"))
formals*))))