[C2hs] Small Patch to c2hs 0.12.0

Andreas Bauer baueran at in.tum.de
Mon Dec 22 16:17:52 EST 2003


I'm pretty sure I am not the first who discovered a misplaced comma in
CAttrs.hs.  But then again, maybe I am, so here goes a small patch to
make the compile problems I had go away.  Please, CC me in case of
questions as I am not a member of this list; thank you.

Mon Dec 22 16:14:31 CET 2003  Andreas Bauer <baueran at in.tum.de>

  * c/CAttrs.hs: fix malformed syntax in leaveObjRangeC


--- CAttrs.hs   2003-12-22 16:09:50.000000000 +0100
+++ CAttrs.hs.new       2003-12-22 16:09:20.000000000 +0100
@@ -144,7 +144,7 @@
 --
 leaveObjRangeC    :: AttrC -> AttrC
 leaveObjRangeC ac  = ac {
-                      defObjsAC = fst . leaveRange . defObjsAC $ ac,
+                      defObjsAC = fst . leaveRange . defObjsAC $ ac
                     }

 -- add another definitions to the object name space (EXPORTED)

-- 
(o_  Andreas Bauer, baueran at in.tum.de, http://www4.in.tum.de/~baueran/
//\  "The inside of a computer is as dumb as hell but it goes like
V_/_  mad!" -- Richard Feynman


More information about the C2hs mailing list