diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-07 00:04:43 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-07 00:04:43 -0400 |
commit | 47725095da5d8ee4596cf5602f3f7f93ae05d813 (patch) | |
tree | 146cd62d8ce864c1be908a34512b0255b8f576a5 | |
parent | 72b04f69e569eb9ba4c8c903e21dcd0ebfda23cb (diff) | |
download | fork-ledger-47725095da5d8ee4596cf5602f3f7f93ae05d813.tar.gz fork-ledger-47725095da5d8ee4596cf5602f3f7f93ae05d813.tar.bz2 fork-ledger-47725095da5d8ee4596cf5602f3f7f93ae05d813.zip |
Allow regular expressions to be "printed".
-rw-r--r-- | src/value.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc index 23da4263..c7cc77c8 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1663,6 +1663,10 @@ void value_t::print(std::ostream& out, out << as_string(); break; + case MASK: + out << '/' << as_mask() << '/'; + break; + case SEQUENCE: { out << '('; bool first = true; |