diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-17 11:22:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-17 11:22:59 -0700 |
commit | 2199940af170456929a3c4fe4d07d25afea6ae55 (patch) | |
tree | 178c2f4a4188c19da3bfd1a0b3f32ec6a82880e6 /cpp/054closure_name | |
parent | c18e17f22feaf308376f53f2f61775ddad0e4a9d (diff) | |
download | mu-2199940af170456929a3c4fe4d07d25afea6ae55.tar.gz |
1077
Diffstat (limited to 'cpp/054closure_name')
-rw-r--r-- | cpp/054closure_name | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/054closure_name b/cpp/054closure_name index 76a1bdd7..b2ea3cc5 100644 --- a/cpp/054closure_name +++ b/cpp/054closure_name @@ -2,6 +2,7 @@ //: spaces together. When a variable has a property of /space:1, it looks up //: the variable in the chained/surrounding space. /space:2 looks up the //: surrounding space of the surrounding space, etc. + :(scenario "closure") recipe main [ default-space:address:space <- new location:type, 30:literal @@ -32,6 +33,7 @@ recipe increment-counter [ //: To make this work, compute the recipe that provides names for the //: surrounding space of each recipe. This must happen before transform_names. + :(before "End Globals") unordered_map<recipe_number, recipe_number> Surrounding_space; |