diff options
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/010vm.cc b/010vm.cc index 2b140cba..ecd2df23 100644 --- a/010vm.cc +++ b/010vm.cc @@ -196,12 +196,14 @@ reagent::reagent(string s) :original_string(s), value(0), initialized(false) { properties.at(0).second.push_back("dummy"); } } + reagent::reagent() :value(0), initialized(false) { // The first property is special, so ensure we always have it. // Other properties can be pushed back, but the first must always be // assigned to. properties.push_back(pair<string, vector<string> >("", vector<string>())); } + string reagent::to_string() const { if (!properties.at(0).second.empty() && properties.at(0).second.at(0) == "literal-string") { return emit_literal_string(name); |