From c70eedc363e058a9b6f32e60db7c17a5cdaf42ef Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 28 Mar 2000 13:18:49 +0000 Subject: [PATCH] [project @ 2000-03-28 13:18:49 by simonmar] Don't use "ccall" as a variable name; it confuses the interface file parser in 4.06. This bug has been fixed in 4.07. --- ghc/compiler/prelude/PrimOp.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/prelude/PrimOp.lhs b/ghc/compiler/prelude/PrimOp.lhs index a6dce94..3a12825 100644 --- a/ghc/compiler/prelude/PrimOp.lhs +++ b/ghc/compiler/prelude/PrimOp.lhs @@ -1943,7 +1943,7 @@ primOpOutOfLine op -- it is done out-of-line rather than require -- the NCG to implement it. - CCallOp ccall -> ccallMayGC ccall + CCallOp c_call -> ccallMayGC c_call other -> False \end{code} @@ -2368,7 +2368,7 @@ Output stuff: \begin{code} pprPrimOp :: PrimOp -> SDoc -pprPrimOp (CCallOp ccall) = pprCCallOp ccall +pprPrimOp (CCallOp c_call) = pprCCallOp c_call pprPrimOp other_op = getPprStyle $ \ sty -> if ifaceStyle sty then -- For interfaces Print it qualified with PrelGHC. -- 1.7.10.4