summaryrefslogtreecommitdiff
path: root/ghc/interpreter/object.c
diff options
context:
space:
mode:
authorsewardj <unknown>2000-02-09 14:50:21 +0000
committersewardj <unknown>2000-02-09 14:50:21 +0000
commit0198d56193b0e77eb39b050d314485c0f79c7f48 (patch)
tree3b0cb220f38ab17a742f2ecb8c4e12a16d88e96d /ghc/interpreter/object.c
parent91e427813d27fac62f501005559fc3eddde33ab6 (diff)
downloadhaskell-0198d56193b0e77eb39b050d314485c0f79c7f48.tar.gz
[project @ 2000-02-09 14:50:19 by sewardj]
More bug fixes resulting from trying to load small programs into Hugs using the GHC Prelude: -- Better handling of kinds on class method types. It's still a kludge (I reckon) but works well enough to correctly handle methods in Monad and Functor. See comment in startGHCClass() in interface.c. -- Add hugsprimReadField and hugsprimShowField. -- Make error be exported from the Prelude. For some reason, PrelErr.hi doesn't give a signature for error, so we have to fake it by copying that of hugsprimError. -- Handle fixity declarations read from interfaces. -- Set nameListMonad so that list comprehensions can be translated.
Diffstat (limited to 'ghc/interpreter/object.c')
-rw-r--r--ghc/interpreter/object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc/interpreter/object.c b/ghc/interpreter/object.c
index 11f8976722..df5be207e9 100644
--- a/ghc/interpreter/object.c
+++ b/ghc/interpreter/object.c
@@ -631,7 +631,9 @@ static int ocGetNames_ELF ( ObjectCode* oc, int verb )
ad, oc->objFileName, nm );
if (!addSymbol ( oc, nm, ad )) return FALSE;
}
+#if 0
else fprintf(stderr, "skipping `%s'\n", strtab + stab[j].st_name );
+#endif
}
}