Skip to content
Snippets Groups Projects
Commit a4b4ad24 authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

[project @ 2000-06-30 18:38:03 by panne]

Remove parentheses around C function/macros names. This is necessary
because cpp does *not* replace e.g.

   (eqForeignObj)(f1,f2)

with

  ((f1)==(f2))

(see PrimOps.h), heaven (or K&R) knows why. OK foreign importing
macros is a hack, but GHC seems to depend on it.
parent ce6e38dc
No related merge requests found
......@@ -838,7 +838,7 @@ pprCCall call@(CCall op_str is_asm may_gc cconv) args results vol_regs
if null non_void_results
then empty
else text "%r = ",
lparen, parens fun_name, lparen,
lparen, fun_name, lparen,
hcat (punctuate comma ccall_fun_args),
text "));"
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment