]> sourceware.org Git - systemtap.git/commit - staptree.cxx
2005-12-12 Frank Ch. Eigler <fche@redhat.com>
authorfche <fche>
Mon, 12 Dec 2005 17:39:53 +0000 (17:39 +0000)
committerfche <fche>
Mon, 12 Dec 2005 17:39:53 +0000 (17:39 +0000)
commita9c62ac9b339211d80b013eac75ba47f8a39d478
tree235ad14256204134f14b55080f8c2b40a2186ea7
parent9cb3a339871fa02385f16d896471ac8b7941e580
2005-12-12  Frank Ch. Eigler  <fche@redhat.com>

Fix parse tree pretty-printer.
* staptree.h (print_format): Add raw_components field.
* parse.cxx (parse_symbol): Set it.
* staptree.cxx (lex_cast_qstring): Copy it here too.
(binary_expression::print): Add a space around operator, due to
lexical ambiguity (expr % paren-expr) vs %( preprocessor op.
(array_in:: foreach_loop:: arrayindex::print): Print base as indexable.
(print_format::string_to_components): Use parse_error, not semantic.
(print_format::print): Properly quote formatting string.  Print
histogram argument.
* translate.cxx (visit_print_format): Properly quote formatting string.
(varlock): Reword lock timeout error message.
* testsuite/buildok/printf.stp: Add some quoting troublemakers.
* testsuite/parseok/unparser.stp: New file.
ChangeLog
parse.cxx
staptree.cxx
staptree.h
testsuite/buildok/printf.stp
testsuite/parseok/unparser.stp [new file with mode: 0755]
translate.cxx
This page took 0.026154 seconds and 5 git commands to generate.