summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
authorfche <fche>2007-09-13 03:41:01 +0000
committerfche <fche>2007-09-13 03:41:01 +0000
commit2f5a9fd328cea00d6792f26e46a796a21b5157dd (patch)
tree5305c33a846c5c82e50865cfd97419909b204dfe /parse.cxx
parent0a08ca991795478fd8b871b881b160e93145d3ae (diff)
downloadsystemtap-steved-2f5a9fd328cea00d6792f26e46a796a21b5157dd.tar.gz
systemtap-steved-2f5a9fd328cea00d6792f26e46a796a21b5157dd.tar.xz
systemtap-steved-2f5a9fd328cea00d6792f26e46a796a21b5157dd.zip
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
* parse.cxx (parse_symbol): Accept println(@hist*()). 2007-09-12 Frank Ch. Eigler <fche@elastic.org> * buildok/print_histograms.stp: Test println(@hist*()).
Diffstat (limited to 'parse.cxx')
-rw-r--r--parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.cxx b/parse.cxx
index 7b8713f9..0b465aa8 100644
--- a/parse.cxx
+++ b/parse.cxx
@@ -2269,7 +2269,7 @@ parser::parse_symbol ()
fmt->print_with_newline = pf_newline;
expect_op("(");
- if (name == "print" &&
+ if ((name == "print" || name == "println") &&
(peek_kw("@hist_linear") || peek_kw("@hist_log")))
{
// We have a special case where we recognize