aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorpanne <unknown>2002-06-08 14:03:36 +0000
committerpanne <unknown>2002-06-08 14:03:36 +0000
commit001811e508ca91bd6caacfc3bf1eb31820e5c1ab (patch)
treed9ea8228669f6f2c82279472f14c63054455fb11 /src/Main.hs
parent6d98989cfb607470f3507cb9f33052348d896e17 (diff)
[haddock @ 2002-06-08 14:03:36 by panne]
Tiny workaround for the fact that Haddock currently ignores HsImportSpecs: Let the local_orig_env take precedence. This is no real solution at all, but improves things sometimes, e.g. in my GLUT documentation. :-)
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 503c47e7..82162ef1 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -176,7 +176,7 @@ mkInterface mod_map filename
-- build the orig_env, which maps names to *original* names (so we can
-- find the original declarations & docs for things).
- orig_env = local_orig_env `plusFM` buildOrigEnv mod_map imps
+ orig_env = buildOrigEnv mod_map imps `plusFM` local_orig_env
-- convert names in source code to original, fully qualified, names
(orig_exports, missing_names1)