[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 10589)

Jason J. Hickey jyh at cs.caltech.edu
Tue May 1 20:18:45 PDT 2007


Backported the export hoisting.  This is something that never worked,
but should have.

   Z. =
       x = 1
       f() =
           x = 2
           export
   Z.f()
   echo $(Z.x)
   # Prints "2"

This works with arbitrary levels of nesting.

----
Changes:
    +71 -2	omake-branches/0.9.8.x/src/env/omake_env.ml
    +10 -3	omake-branches/0.9.8.x/src/env/omake_env.mli
    +131 -49	omake-branches/0.9.8.x/src/eval/omake_eval.ml
    +1 -1	omake-branches/0.9.8.x/src/eval/omake_eval.mli
    +5 -0	omake-branches/0.9.8.x/src/ir/omake_pos.ml
    +26 -19	omake-branches/0.9.8.x/src/ir/omake_value_type.ml
 
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2007-05.html#07/05/01.20:18:45



More information about the OMake-CVS mailing list