From 2199940af170456929a3c4fe4d07d25afea6ae55 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 17 Apr 2015 11:22:59 -0700 Subject: 1077 --- cpp/054closure_name | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/054closure_name') 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 Surrounding_space; -- cgit 1.4.1-2-gfad0