Extend case for udf's

This commit is contained in:
Justin Ethier 2018-12-14 13:28:37 -05:00
parent aaddb3c403
commit c6aa29d7ab

View file

@ -992,7 +992,9 @@
(let ()
;; Add a comma if necessary
(if (or (str-ending? (c:body c-fun) "(")
(prim:cont/no-args? fun))
(prim:cont/no-args? fun)
(and (prim:udf? fun)
(zero? num-args)))
c-fun
(c:append c-fun (c-code ", "))))
c-args*)