diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2007-11-15 14:35:40 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2007-11-15 14:35:40 -0500 |
commit | 055e8b89db8f76f0ccc05d08acfe979ba50024d6 (patch) | |
tree | 5c51849d470c1ff74162fbeb6be56f190d524daf /staptree.cxx | |
parent | 3cf29fed2ae7b36527c95c93754a4c0b0e51e749 (diff) | |
parent | f781f849ceedba83580eead82c3baf949a9738db (diff) | |
download | systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.gz systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.xz systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'staptree.cxx')
-rw-r--r-- | staptree.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/staptree.cxx b/staptree.cxx index ccfc8a8d..d71472a6 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -340,12 +340,18 @@ void functioncall::print (ostream& o) const bool print_format::parse_print(const std::string &name, - bool &stream, bool &format, bool &delim, bool &newline) + bool &stream, bool &format, bool &delim, bool &newline, bool &_char) { const char *n = name.c_str(); stream = true; - format = delim = newline = false; + format = delim = newline = _char = false; + + if (strcmp(n, "print_char") == 0) + { + _char = true; + return true; + } if (*n == 's') { @@ -2292,6 +2298,7 @@ deep_copy_visitor::visit_print_format (print_format* e) n->print_with_format = e->print_with_format; n->print_with_delim = e->print_with_delim; n->print_with_newline = e->print_with_newline; + n->print_char = e->print_char; n->raw_components = e->raw_components; n->components = e->components; n->delimiter = e->delimiter; |