Commit a4b4ad24 authored by panne's avatar panne
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
......@@ -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 "));"
])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment