Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-10-17 08:40:40 -0700 (Mon, 17 Oct 2005)
Revision: 7916
Log message:

      Include Pervasives definitions to files at parse time.
      This means that the following code will work as expected.
      
          f() =
              stdout = ...
              ...
      
      Before, since stdout was unknown, this would have to be explicit.
      
          f() =
              Pervasives.stdout = ...
              ...
      
      Note, that variable definitions in functions are still chosen
      statically, and they default to private.  Consider the following
      code.
      
          open build/C    # Defines CFLAGS
          f(file) =
              CFLAGS = -g  # This will be a private definition, not C.CFLAGS
              $(file):
      
      There are good arguments for and against this approach.
      

Changes  Path
+5 -2 omake-branches/omake_0_9_7_ref/src/build/omake_builtin.ml
+12 -0 omake-branches/omake_0_9_7_ref/src/env/omake_env.ml
+5 -3 omake-branches/omake_0_9_7_ref/src/env/omake_env.mli
+17 -0 omake-branches/omake_0_9_7_ref/src/env/omake_ir_ast.ml
+2 -0 omake-branches/omake_0_9_7_ref/src/env/omake_ir_ast.mli
+4 -1 omake-branches/omake_0_9_7_ref/src/eval/omake_eval.ml
+1 -0 omake-branches/omake_0_9_7_ref/src/eval/omake_eval.mli
+1 -0 omake-branches/omake_0_9_7_ref/src/ir/omake_ir.ml