[project @ 2000-06-12 18:13:20 by panne]
authorpanne <unknown>
Mon, 12 Jun 2000 18:13:20 +0000 (18:13 +0000)
committerpanne <unknown>
Mon, 12 Jun 2000 18:13:20 +0000 (18:13 +0000)
commit92a2a3c2b433813e79c9a59f3b44a931b758ae2c
tree113498c2f85a85dd0f79880647ec0bd4460dfc2f
parent422fcdcaa000f54df311e3f1d9150d400ec9f4ea
[project @ 2000-06-12 18:13:20 by panne]
`foreign label foo :: Addr' was simply mapped to `foo' on the C side,
but this is wrong, resp. only works for C *functions*, not *variables*
(praise the implicit conversions of C!). It now correctly maps to `(&foo)'.

ATTENTION: I'm not sure if this fix breaks some SW which depends on
the old (wrong) behaviour (H/Direct?).
ghc/compiler/deSugar/DsForeign.lhs