X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Finterpreter%2Fconnect.h;h=3fe465806c55829c4766970d501c74490d314a14;hb=668e01197062f70f91488345852c354d1abb5039;hp=b1ead06e898c90887caf9c38421644fb4a052dd8;hpb=a634bc4711b13d878ce4a5fe9a45ae5c7468255c;p=ghc-hetmet.git diff --git a/ghc/interpreter/connect.h b/ghc/interpreter/connect.h index b1ead06..3fe4658 100644 --- a/ghc/interpreter/connect.h +++ b/ghc/interpreter/connect.h @@ -9,8 +9,8 @@ * included in the distribution. * * $RCSfile: connect.h,v $ - * $Revision: 1.35 $ - * $Date: 2000/04/04 15:41:56 $ + * $Revision: 1.39 $ + * $Date: 2000/04/25 17:43:49 $ * ------------------------------------------------------------------------*/ /* -------------------------------------------------------------------------- @@ -18,7 +18,7 @@ * Texts, Names, Instances, Classes, Types, Kinds and Modules * ------------------------------------------------------------------------*/ -extern Text textPrimPrel; +extern Text textPrelPrim; extern Text textPrelude; extern Text textNum; /* used to process default decls */ extern Text textCcall; /* used to process foreign import */ @@ -221,7 +221,7 @@ extern Type typeST; extern Type typeIO; extern Type typeException; -extern Module modulePrimPrel; +extern Module modulePrelPrim; extern Module modulePrelude; extern Kind starToStar; /* Type -> Type */ @@ -312,6 +312,7 @@ extern Int whnfInt; /* integer value of term in whnf */ extern Float whnfFloat; /* float value of term in whnf */ extern Long numCells; /* number of cells allocated */ extern Int numGcs; /* number of garbage collections */ +extern int numEnters; /* number of enters */ extern Bool preludeLoaded; /* TRUE => prelude has been loaded */ extern Bool flagAssert; /* TRUE => assert False causes an assertion failure */ @@ -327,6 +328,9 @@ extern List diVars; /* deriving: cache of names */ extern Int diNum; /* also for deriving */ extern List cfunSfuns; /* List of (Cfun,[SelectorVar]) */ +extern Module moduleBeingParsed; /* so the parser (topModule) knows */ + + #if USE_PREPROCESSOR extern String preprocessor; /* preprocessor command */ #endif @@ -587,19 +591,6 @@ extern HugsBreakAction setBreakAction ( HugsBreakAction ); * Environment variables and the registry *-------------------------------------------------------------------------*/ -/* On Win32 we can use the registry to supplement info in environment - * variables. - */ -/* AJG: Commented out for now for development */ -/* #define USE_REGISTRY (HAVE_WINDOWS_H && !__MSDOS__) */ - -#ifdef USE_REGISTRY -Bool writeRegString ( String var, String val ); -String readRegString ( String var, String def ); -Int readRegInt ( String var, Int def ); -Bool writeRegInt ( String var, Int val ); -#endif - #define N_INSTALLDIR 200 extern char installDir[N_INSTALLDIR];