cvs commit: hugs98/src/unix hugs-package.in

ross 2003/07/16 09:26:31 PDT Modified files: src/unix hugs-package.in Log: make hack_foreign a tad less stupid Revision Changes Path 1.5 +9 -3 hugs98/src/unix/hugs-package.in

Hmmm, I think the fix in this commit only catches every second "wrapper" or "dynamic" case. Try hack_foreign on: ------------------------------------------------- foreign import ccall unsafe "dynamic" foo1 :: Foo foreign import ccall unsafe "dynamic" foo2 :: Foo foreign import ccall unsafe "dynamic" foo3 :: Foo foreign import ccall unsafe "dynamic" foo4 :: Foo foreign import ccall unsafe "wrapper" bar1 :: Bar foreign import ccall unsafe "wrapper" bar2 :: Bar foreign import ccall unsafe "wrapper" bar3 :: Bar foreign import ccall unsafe "wrapper" bar4 :: Bar ------------------------------------------------- I don't have the black belt in sed programming, so I just wanted to point out... :-] Cheers, S.
participants (2)
-
ross@glass.cse.ogi.edu
-
Sven Panne