No extra comma for inlined scheme functions

This commit is contained in:
Justin Ethier 2017-04-19 00:54:01 +00:00
parent 9b7a5e3cfe
commit 62559ee2c0

View file

@ -734,7 +734,9 @@
(if (prim/c-var-assign fun)
;; Add a comma if there were any args to the func added by comp-prim
(if (or (str-ending? (car (c:allocs c-fun)) "(")
(prim:cont/no-args? fun))
(prim:cont/no-args? fun)
(and (prim:udf? fun)
(zero? num-args)))
""
",")
",")