From 333d772d2a48fbf882fa525530a045cb2dc13559 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 25 Nov 1997 13:55:30 +0000 Subject: [PATCH] [project @ 1997-11-25 13:55:30 by sof] Added -fwarn-duplicate-exports option --- ghc/compiler/main/CmdLineOpts.lhs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs index c52b97b..62b2e34 100644 --- a/ghc/compiler/main/CmdLineOpts.lhs +++ b/ghc/compiler/main/CmdLineOpts.lhs @@ -93,6 +93,7 @@ module CmdLineOpts ( opt_WarnUnusedNames, opt_WarnIncompletePatterns, opt_WarnOverlappedPatterns, opt_WarnMissingMethods, + opt_WarnDuplicateExports, opt_PruneTyDecls, opt_PruneInstDecls, opt_D_show_unused_imports, opt_D_show_rn_stats, @@ -351,6 +352,7 @@ opt_WarnIncompletePatterns = lookUp SLIT("-fwarn-incomplete-patterns") opt_WarnOverlappedPatterns = lookUp SLIT("-fwarn-overlapped-patterns") opt_WarnUnusedNames = lookUp SLIT("-fwarn-unused-names") opt_WarnMissingMethods = lookUp SLIT("-fwarn-missing-methods") +opt_WarnDuplicateExports = lookUp SLIT("-fwarn-duplicate-exports") opt_PruneTyDecls = not (lookUp SLIT("-fno-prune-tydecls")) opt_PruneInstDecls = not (lookUp SLIT("-fno-prune-instdecls")) opt_D_show_unused_imports = lookUp SLIT("-dshow-unused-imports") -- 1.7.10.4