diff options
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; |