summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
committerFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
commit055e8b89db8f76f0ccc05d08acfe979ba50024d6 (patch)
tree5c51849d470c1ff74162fbeb6be56f190d524daf /parse.cxx
parent3cf29fed2ae7b36527c95c93754a4c0b0e51e749 (diff)
parentf781f849ceedba83580eead82c3baf949a9738db (diff)
downloadsystemtap-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 'parse.cxx')
-rw-r--r--parse.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/parse.cxx b/parse.cxx
index 0b465aa8..173639b3 100644
--- a/parse.cxx
+++ b/parse.cxx
@@ -2234,7 +2234,7 @@ parser::parse_symbol ()
// now scrutinize this identifier for the various magic forms of identifier
// (printf, @stat_op, and $var...)
- bool pf_stream, pf_format, pf_delim, pf_newline;
+ bool pf_stream, pf_format, pf_delim, pf_newline, pf_char;
if (name.size() > 0 && name[0] == '@')
{
@@ -2259,7 +2259,7 @@ parser::parse_symbol ()
}
else if (print_format::parse_print(name,
- pf_stream, pf_format, pf_delim, pf_newline))
+ pf_stream, pf_format, pf_delim, pf_newline, pf_char))
{
print_format *fmt = new print_format;
fmt->tok = t;
@@ -2267,6 +2267,7 @@ parser::parse_symbol ()
fmt->print_with_format = pf_format;
fmt->print_with_delim = pf_delim;
fmt->print_with_newline = pf_newline;
+ fmt->print_char = pf_char;
expect_op("(");
if ((name == "print" || name == "println") &&