diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-26 20:00:38 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-26 20:02:18 -0700 |
commit | ae256ea13efc77cc767a658c6f61b12cd7461e21 (patch) | |
tree | 18dbcb26423b1d17d0639995c4bd29ec8f3d5c17 /044space.cc | |
parent | 7bba6e7bb7fd7bfdfc71626a34a08cb96a084b74 (diff) | |
download | mu-ae256ea13efc77cc767a658c6f61b12cd7461e21.tar.gz |
2283 - represent each /property as a tree
Diffstat (limited to '044space.cc')
-rw-r--r-- | 044space.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/044space.cc b/044space.cc index 53d9b802..598c8847 100644 --- a/044space.cc +++ b/044space.cc @@ -56,7 +56,7 @@ void absolutize(reagent& x) { raise_error << current_instruction().to_string() << ": reagent not initialized: " << x.original_string << '\n' << end(); } x.set_value(address(x.value, space_base(x))); - x.properties.push_back(pair<string, vector<string> >("raw", vector<string>())); + x.properties.push_back(pair<string, string_tree*>("raw", NULL)); assert(is_raw(x)); } @@ -77,7 +77,7 @@ recipe main [ +mem: storing 35 in location 9 :(after "reagent tmp" following "case GET:") -tmp.properties.push_back(pair<string, vector<string> >("raw", vector<string>())); +tmp.properties.push_back(pair<string, string_tree*>("raw", NULL)); //:: fix 'index' @@ -97,7 +97,7 @@ recipe main [ +mem: storing 35 in location 9 :(after "reagent tmp" following "case INDEX:") -tmp.properties.push_back(pair<string, vector<string> >("raw", vector<string>())); +tmp.properties.push_back(pair<string, string_tree*>("raw", NULL)); //:: convenience operation to automatically deduce the amount of space to //:: allocate in a default space with names |