diff options
Diffstat (limited to 'src/precmd.cc')
-rw-r--r-- | src/precmd.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/precmd.cc b/src/precmd.cc index f78d766e..4c916608 100644 --- a/src/precmd.cc +++ b/src/precmd.cc @@ -43,6 +43,22 @@ namespace ledger { namespace { + string join_args(call_scope_t& args) + { + std::ostringstream buf; + bool first = true; + + for (std::size_t i = 0; i < args.size(); i++) { + if (first) + first = false; + else + buf << ' '; + buf << args[i]; + } + + return buf.str(); + } + post_t * get_sample_xact(report_t& report) { { |