Fixed pretty printing and pattern split #602

Merged
zxq9 merged 2 commits from github/fork/radrow/pp-pat-split into master 2019-07-29 20:27:02 +09:00
Showing only changes of commit 6992e24a7b - Show all commits

View File

@ -1373,7 +1373,7 @@ pp_fexpr({builtin_u, B, N}) ->
pp_fexpr({builtin, B, As}) ->
pp_call(pp_text(B), As);
pp_fexpr({remote_u, Ct, Fun, Ar}) ->
pp_beside([pp_fexpr(Ct), pp_text("."), pp_fun_name(Fun), pp_text("/"), pp_text(Ar)]);
pp_beside([pp_fexpr(Ct), pp_text("."), pp_fun_name(Fun), pp_text("/"), pp_int(Ar)]);
pp_fexpr({remote, Ct, Fun, As}) ->
pp_call(pp_beside([pp_fexpr(Ct), pp_text("."), pp_fun_name(Fun)]), As);
pp_fexpr({funcall, Fun, As}) ->