summaryrefslogtreecommitdiffstats
path: root/staptree.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-02-14 22:12:07 +0000
committerfche <fche>2006-02-14 22:12:07 +0000
commit2a99f48ff1f873f537784d6f70d7641ada1ed7bd (patch)
tree6eb328cf1ad642ecf4ef223f1ea379fd9810e5d5 /staptree.cxx
parentb9bf008d3a624fa7b470a7d852d970ca27370b90 (diff)
downloadsystemtap-steved-2a99f48ff1f873f537784d6f70d7641ada1ed7bd.tar.gz
systemtap-steved-2a99f48ff1f873f537784d6f70d7641ada1ed7bd.tar.xz
systemtap-steved-2a99f48ff1f873f537784d6f70d7641ada1ed7bd.zip
2006-02-14 Frank Ch. Eigler <fche@elastic.org>
* stapfuncs.5.in: Document new queue_stats tapset. * elaborate.cxx (*): Put "while:" clarification messages before a thrown semantic error. * staptree.cxx (print_format::string_to_components): Correct parse of "%%" formatting element. * queue_stats.stp: New tapset. * systemtap.samples/queue_demo.*: New test.
Diffstat (limited to 'staptree.cxx')
-rw-r--r--staptree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/staptree.cxx b/staptree.cxx
index b4398312..74aa3964 100644
--- a/staptree.cxx
+++ b/staptree.cxx
@@ -448,7 +448,7 @@ print_format::string_to_components(string const & str)
assert (curr.type == conv_unspecified || curr.type == conv_literal);
curr.type = conv_literal;
curr.literal_string += '%';
- ++i;
+ i += 2;
continue;
}
else