From 2a99f48ff1f873f537784d6f70d7641ada1ed7bd Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 14 Feb 2006 22:12:07 +0000 Subject: 2006-02-14 Frank Ch. Eigler * 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. --- staptree.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staptree.cxx') 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 -- cgit