diff options
Diffstat (limited to 'cpp/043space')
-rw-r--r-- | cpp/043space | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/043space b/cpp/043space index b2b29cf3..c285f65f 100644 --- a/cpp/043space +++ b/cpp/043space @@ -52,6 +52,8 @@ reagent absolutize(reagent x) { :(before "return result" following "reagent deref(reagent x)") result.properties.push_back(pair<string, vector<string> >("raw", vector<string>())); +//:: fix 'get' + :(scenario "deref_sidesteps_default_space_in_get") recipe main [ # pretend pointer to container from outside @@ -69,6 +71,8 @@ recipe main [ :(after "reagent tmp" following "case GET:") tmp.properties.push_back(pair<string, vector<string> >("raw", vector<string>())); +//:: fix 'index' + :(scenario "deref_sidesteps_default_space_in_index") recipe main [ # pretend pointer to array from outside @@ -87,6 +91,8 @@ recipe main [ :(after "reagent tmp" following "case INDEX:") tmp.properties.push_back(pair<string, vector<string> >("raw", vector<string>())); +//:: helpers + :(code) int space_base(const reagent& x) { return Current_routine->calls.top().default_space; |