diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-17 23:24:52 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-17 23:24:52 -0700 |
commit | 7284d503f67572dab678f68e5635c471a9d53480 (patch) | |
tree | 292b611d694da66c1a881ed11662cf9b0ee64610 /cpp/043space | |
parent | b3cdcdd44f6b8db053e4814351fbf04fefb7d7cf (diff) | |
download | mu-7284d503f67572dab678f68e5635c471a9d53480.tar.gz |
1094 - demarcate sections in layers
We have tangled vs regular comments, but they highlight the same. So we're still at 3 colors for comments. Anything more starts to seem gratuitous.
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; |